Make an array of the text's you want to display.
Create a Date object.
The getDay, getHours, and getMinutes methods will be useful.
Use lots of logic-related statements.
Write to document as needed.
Programming Windows (third edition, I think) by Charles Petzold is what you might be looking for. It's considered to be one of *the* books on Windows programming. Since you've already had years of C++ experience, this would be your next logical step.
Edit: Oops ...
<i>Programming Windows</i> (third edition, I think) by Charles Petzold is what you might be looking for. It's considered to be one of *the* books on Windows programming. Since you've already had years of C++ experience, this would be your next logical step.
Hm. You have an interestingly sadistic instructor? Oh well. I tried twice, and failed both times.
The stop value, in my programs, was to what number the loop would iterate to, before exiting the loop (obviously).
What is the fascination with using two numbers? The very same table can be printed with just two lines of C++ code.
Perhaps ...
for (int n1 = 1; n1 <= 20; n1++)
cout << setw(2) << n1 << " " << setw(2)
<< n1 * 2 << " " << setw(2) << n1 * 3 << endl;
does not...
I'm building a computer for a friend, and I have to come to a difficult
impasse. Here's my problem.
I starting buidling the computer, and everything goes pretty well. I assemble
the basic skeleton of the motherboard, memory, CPU, floppy drive and video
card, and place it into the case, and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.