The C++Course provides a general introduction to programming in C++. It is based on A.B. Downey's book, How to Think Like a Computer Scientist. Click here for details. |
Home More structures Printtime | ||
Printtime
cout << t.hour << ":" << t.minute << ":" << t.second << endl; } The output of this function, if we pass time an argument, is 11:59:3.14159.
|
||
Home More structures Printtime |