how do you do it in c++? can you give me an example: like get the start time and the end time, and then get the total elapsed time.
Type: Posts; User: xiaohuai
how do you do it in c++? can you give me an example: like get the start time and the end time, and then get the total elapsed time.
how do i make a segment of program stop after a while, say 30 seconds and give a variable whatever it gets so far?
thanks in advance.
i know this is no c++ question, can any one tel me:
in efficiency class is log2^n the same and log3^n or logx^n, because we can change base right?
thanks in advance .
try this: int num = -1;
i guess the character is never read, so it's still there. and the scanf is trying to read it but fails, so it keeps looping without getting an input from you.
try to use a do while loop as...