Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-11-2003, 04:07 PM   #1
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
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
kstatefan40 is offline   Reply With Quote
Old 07-19-2003, 11:41 PM   #2
Member (10 bit)
 
Join Date: Nov 2002
Location: Champaign, IL
Posts: 611
Send a message via AIM to David14259
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.
David14259 is offline   Reply With Quote
Old 07-19-2003, 11:42 PM   #3
Member (10 bit)
 
Join Date: Nov 2002
Location: Champaign, IL
Posts: 611
Send a message via AIM to David14259
Oh, and if you're just learning, start with an easier project!
David14259 is offline   Reply With Quote
Old 07-20-2003, 09:25 AM   #4
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
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!
kstatefan40 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:03 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2