|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Security Dude
Staff
|
C++ Alarm Clock
I am wanting to make my computer into a alarm clock. Nothing seems to wake me up, and I decided to program a C++ application to play a specified computer voice message, and a song. I wanted to put the computer into standby at night and have the alarm clock wake the computer up, and me. What code would bring the computer out of standby? What code would I use to automaticly turn the volume up? What code would I use to get the System Time? I am a newbie C++ learner and this is my first project. THANKS!!
__________________
Tyler A. Thompson Small Business Networking Services Specialist tyler@derbydigital.com |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
There is a library called time.h that will let your access the time on the computer. You can also use it for generationg (semi) random numbers.
|
|
|
|
|
|
#3 |
|
Member (10 bit)
|
Oh, and if you're just learning, start with an easier project!
|
|
|
|
|
|
#4 |
|
Security Dude
Staff
|
Thanks for the help. I am going to try a bunch of stuff in the next month or so and try to program a cheap Direct X game. The alarm clock will come later, it was just an idea i had!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|