How do I create a c++ program to find the day of the week automatically, such that I can use it as a string? If I use ctime, it will show not just the day of the week, but the date and time too.
This is a discussion on Finding the day of the week within the C++ Programming forums, part of the General Programming Boards category; How do I create a c++ program to find the day of the week automatically, such that I can use ...
How do I create a c++ program to find the day of the week automatically, such that I can use it as a string? If I use ctime, it will show not just the day of the week, but the date and time too.
Use ctime to get the answer, and parse the answer for what you need.
Mac and Windows cross platform programmer. Ruby lover.
Quote of the Day
12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.
Amen brother!