+ 2
How to add to the output the time taken by our code to compile and run...
my friend who is interested in the c++ coding asked about this to me and I couldn't answer him. Can anyone help me with the answer?
3 Respuestas
+ 2
Do you mean on your own computer?
You could write script to:
get the system time
then compile the code
then run the code.
then get the system time and calculate the difference.
0
Thanks for the great idea !
It worked
0
Glad it worked for you.