By using this site, you agree to our Privacy Policy and our Terms of Use. Close

General - c++ question - View Post

Not sure why it added an empty line between each line...

after compiling run with

./time

It will ask you to enter time (HH:MM:SS) and then so the equal/greater crap. It uses only c++ so you can remove

#include "stdio.h"

from the top.

 

Also at the end there is some test code for the "operator-". You can remove it or print it out. operator-/operator+/operator+= and operator-= are all implemented



PSN ID: krik

Optimistic predictions for 2008 (Feb 5 2008): Wii = 20M, PS3 = 14M, X360 = 9.5M