This makes pretty designs!

This is a discussion on This makes pretty designs! within the C++ Programming forums, part of the General Programming Boards category; This makes pretty designs! See for yourself! (snicker) Code: #define NotTrue false #include <iostream> #include <string> #include <windows.h> using namespace ...

  1. #1
    Shadow12345
    Guest

    This makes pretty designs!

    This makes pretty designs! See for yourself! (snicker)
    Code:
    #define NotTrue false
    #include <iostream>
    #include <string>
    #include <windows.h>
    using namespace std;
    
    int main(void) {
    
    bool done = NotTrue;
    int bigturd;
    
    while(!done) {
    for(int Letter = 0; Letter < 256; Letter++) {
    	putchar((rand()%145)); 
    		for(int x = 0; x < (int)((double)rand() / ((double)RAND_MAX + 1) * 100); x++)
    			cout << " ";
    	if(Letter%12 == 0)
    		Sleep(((int)((double)rand() / ((double)RAND_MAX + 1) * 1000)));
    	else
    		Sleep(120);
    	}
    Letter = 0;
    bigturd++;
    if(bigturd == 10)
         done = true;
    
    cout << endl;
    }
    
    
    return 0;
    }
    No criticisms are required for this project

  2. #2
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    well..you sure did alot of code for stupid results...

  3. #3
    drdroid
    Guest

    Question ?

    I don't want to compile it for obvious reasons but I had time on my hands so what is this little animation thing?

  4. #4
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    its just random lettes in random positions

  5. #5
    Green Member Cshot's Avatar
    Join Date
    Jun 2002
    Posts
    892
    You should check for that beep character. Surprised the heck out of me when my computer beeped at work.
    Try not.
    Do or do not.
    There is no try.

    - Master Yoda

  6. #6
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question hhhhhhmmmmm....

    I kind'a wanna run this program.... the curiosity is killing me!!!!! borland c++ compiler version 4.52...

  7. #7
    Shadow12345
    Guest
    What's wrong with you people, you weren't actually supposed to reply to this thread

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 12-07-2004, 01:31 AM
  2. assignment makes int from pointer w/o cast
    By iain in forum C Programming
    Replies: 4
    Last Post: 11-25-2004, 10:03 AM
  3. What makes a good song?
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 36
    Last Post: 01-11-2004, 04:34 PM
  4. strcat makes program crash
    By imoy in forum C++ Programming
    Replies: 4
    Last Post: 05-09-2002, 02:41 PM
  5. Pretty Optimistic
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 42
    Last Post: 11-06-2001, 09:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21