• Advertisement
Sign in to follow this  

C++ Digital Clock

This topic is 2304 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