Jump to content
  • Advertisement
Sign in to follow this  
mapPhil

C++ Digital Clock

This topic is 2570 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

I know how to create a digital clock using #include<time.h> 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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!