Computer Science Canada Program help |
Author: | ReN3g@de [ Tue Mar 09, 2004 4:38 pm ] | ||
Post subject: | Program help | ||
i need some help with this program...
im trying to make it delete three files then prompt the user to press a key... when he does so i want the computer to restart. but instead of restarting the program loops continuously... wut is wrong? i use Dev C++ |
Author: | wtd [ Tue Mar 09, 2004 7:28 pm ] | ||
Post subject: | Re: Program help | ||
ReN3g@de wrote: i need some help with this program...
Let's start by cleaning it up a bit. Mixing C and C++ is bad!
Quote: im trying to make it delete three files then prompt the user to press a key... when he does so i want the computer to restart. but instead of restarting the program loops continuously... wut is wrong?
i use Dev C++ The only thing I can see that might be a problem is "shutdown". Is there any particular reason for your program to request a system shutdown? And this command won't even work in Windows (without Cygwin). |
Author: | Dan [ Tue Mar 09, 2004 9:18 pm ] |
Post subject: | |
ROFL, *dan looks at last 2 post in c++ help by ReN3g@de* lets see we got one on delteing reg keys and one on deltaing files, spicfaly ones that make an anti-virus app work, LOL. Have fun, i hope you dont get cougth, lol. |
Author: | ReN3g@de [ Tue Mar 09, 2004 10:21 pm ] |
Post subject: | |
heh heh its all in good fun... i know the person i am playin aroun with... he's a pretty cocky fellow!! the funny thing is i just made my entire program in Turing!!! i figures out how to turn off, restart, and make the computer sleep!! |