Skip to main content
GameDev.net gamedev.net
🔒 Locked

C++ Digital Clock

Started by mapPhil Nov 3, 2011 at 10:22 AM 0 replies 1k views
Original Post
mapPhil
mapPhil
Hi,

I know how to create a digital clock using #include but will this header allow me to set the time as well? if anyone can point me in the right direction that will be great.

Thanks
HappyCoder
HappyCoder
If you want to set the system time that will depend on the operating system. Look around for setting the system time using c++ on whatever platform you are working on.

After a quick google search for "Setting System Time C++ Windows" I found this. SetSystemTime
My current game project Platform RPG

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.