0
How to get my timer correct? Using chrono
I create a vector and an array to compare their time. When I separated them to compile it works fine. But when I combined two things in one file. Those time become junk number. How could I fix it? https://code.sololearn.com/cVI4m6Meulou/?ref=app
1 Answer
+ 1
advice: use clock_t instead of chrono, much easier.