Thread: This makes pretty designs!

  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
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    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
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    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, 02:31 AM
  2. assignment makes int from pointer w/o cast
    By iain in forum C Programming
    Replies: 4
    Last Post: 11-25-2004, 11: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, 05: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, 10:27 PM