My C++ Win console app Virus Prank (with some cool loading effects) =D

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,741
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 22, 2010

This is my simple C++ program wich have a function that fakes a virus! It looks like it searching for your hard drive, download a virus, and 'plant' it to the hard drive ^^ i made this to prank my friend lol, but you can see alot of other functions too, that's cuz this actually is a text based rpg game =P but i didnt feel like to make a new program for this little prank, now i can trick ppl who play this game lol!!

Link to this comment:

Share to:

Uploader Comments (oonmm)

  • How did you make the loading effect?

  • @ChaseandDonny You'll need to include "Windows.h" for it to work, then just make a function which wait for the time you send as parameter, here's a working function for that:

    void loading( int time ) // 1000 = 1 second

    {

    for( int i = 3; i > 0; i-- ) // do this 3 times

    {

    Sleep( time / 3 ); // wait for 1/3 of the time

    std::cout << "."; // print out a dot

    }

    }

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • How did you make it load and save game data? Could you provide a link?

  • How did you get it so that you can save, and load game data?

  • make it to change color to! (with "color A" to "color F" and "color 1" to "color 9") ;)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more