Thread: New dude needs simple help :P

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Pawn, Pascal and C++
    Join Date
    Sep 2005
    Posts
    90

    Talking New dude needs simple help :P

    Hey I just started to learn C++.

    Just to learn and make my first program, I want to make a "virus" thats
    says like "Deleting your system files..." and then the prosent stands under to mess with my friend.

    I've made it but I just have one problem.
    Theres no delay between the prosents...
    It says "Deleteing your system files.... 100%" right after you started the program.

    And I want the new prosent to replace the old one.
    Now it says "1% 2% 3% 4%" etc.
    I want it to only be one number to say the prosent, not 100.

    Heres the part that I've been talking about:
    Code:
    int num1 = 0;
    
    while(num1 < 101) {
      cout<< num1 << "%";
      num1++;
    }
    And when I've already made a thread, how to I make other "backgrounds" instead of the boring black DOS window?

    Thanks a lot
    Last edited by XunTric; 09-26-2005 at 09:23 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. Simple message encryption
    By Vicious in forum C++ Programming
    Replies: 10
    Last Post: 11-07-2004, 11:48 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Simple simple program
    By Ryback in forum C++ Programming
    Replies: 10
    Last Post: 09-09-2004, 05:48 AM
  5. Need help with simple DAQ program
    By canada-paul in forum C++ Programming
    Replies: 12
    Last Post: 03-15-2002, 08:52 AM