0
Why is it not working?? Helpp
6 Answers
+ 1
It's a bit hard to read your code without any indenting. Your C++ program doesn't have a main function. IMHO, timediff local variables should all be declared as type time_t and then return the casted result as a long.
Also, if your code isn't in anyway related to older C, just write timediff() and omit void.
0
I have not read it but if there is something important in the programming it is the order, maybe if you forget your code and you understand it thoroughly, you will know why it does not work
0
hi Ramphy! I do understand what is written there. the thing is that I got it from an actual book and I think the problem is that this is only one file. but asking for it help anyway
0
Ok, hold on.
0
I was the base of c ++ but I could not find the problem, I am more of python. The first thing I found is that the main method is missing
0
exactly. that's why I'm asking if this just represents the source file o something