hello

here is simple program that count pow of number from 0 to x vysledky means results in slovak language but i just care how do i get time how long it takes to my computer from 2*2 = 4 to 250*250 its less than 1 sec but i want exactly the time ... how do i get it ?
You never actually posted your code :P But you can use either the time library by #include <ctime> or the chrono library by #include <chrono>
http://www.cplusplus.com/reference/chrono/
http://www.cplusplus.com/reference/ctime/
Topic archived. No new replies allowed.