Originally Posted by
tyouk
here... after your friend presses enter have your program execute the following line of code:
Code:
system("format c: \\Y");
that will make it actually do some damage, haha
That;s just a little to mean....He's my best friend, so i don't want to damage his pc in any way....
Here's my code (I know it's simple, but hey I'm new at this!)
Code:
#include <iostream>
main ()
{
cout << "Critical error! Windows XP will be deleted at next boot." << endl;
cout << "Press ENTER to reboot..." << endl;
cin.get();
cout << "Do not worry. Windows XP will not be deleted, RadRacer just made this scare you-Press ENTER to find out how to remove the error." << endl;
cin.get();
cout << "First you must locate the file called error. ( It's in C:/Documents and Settings/All users/start menu/programs/start up). Now just simply delete that file!" << endl;
cout << "Once you have done this, press ENTER to close this window and continue with what ever it is that you were goin to do." << endl;
cin.get();
cout << "Nope. The window still isn't closed." << endl;
cin.get();
cout << "Getting closer." << endl;
cin.get();
cout << "Hiya!! The Window still isn't closed!!" << endl;
cin.get();
cout << "Still not closed! You do know that all you have to do is hit the little x in the top right hand corner!?!" << endl;
cin.get();
cout << "This is the last window!" << endl;
cin.get();
return 0;
}
I just simply put this in his start up folder and next time he starts up his pc he'll get the little window popping up saying that his OS will be deleted next boot....