I'm having a difficult time changing my codes from C to C++.
For C:
How do you convert the C codes into C++ with the same outputting format?Code:printf("%2d/%-2d ", month, day); printf("%02d:%02d ", hour, minute); printf("%-15s %s\n", subject, location);
Thanks