cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
help with time and graphics program
help with time and graphics program
Mar 11, 2008 at 3:34pm UTC
spud
(1)
i need help with making a program that outputs a pic of the world map with a dot on the country that user typed in. It also should be outputting the time and date of the country. Can someone please help me i have no idea on were to start.
Mar 11, 2008 at 4:03pm UTC
magicalblender
(92)
The time() function returns the number of seconds since Jan 1, 1970:
http://www.cplusplus.com/reference/clibrary/ctime/time.html
From that you can deduce the time and date.
Graphics? That's a can of worms, right there. At least you have some choices:
Win32:
http://www.winprog.org/tutorial/
OpenGl:
http://www.glprogramming.com/red/
... And many more, but I don't use them, so I don't have any links.
Topic archived. No new replies allowed.