Click Here
Home Blog Gallery Links Tutorials Projects
[C++] Random Junk V3 2010-07-05 12:31
This version works under linux perfectly
Quote:
#include <iostream>
#include <cstdlib> //for compiling under linux
using namespace std;
void junk();
int main (int argc, char * argv[]){
srand( time(NULL) );
junk();
}
void junk(){
int size=1024;
cout << "\x1B\x5B\x48\x1B\x5B\x32\x4A";
for(int i=0; i<size; i++) cout << (char) (rand() % (127 - 32) + 32);
cout << "\n";
}

Add a Comment

Get Your IP Instantly
Name:
Enter the text from the image below to the text field next to it (text is case sensitive):
Captcha
Email:

Name:
Password:

Enter Captcha (Case Sensitive):
Captcha


Register
English
Lietuviškai

RSS Feed
Main Content
Animation
Carmageddon
Programming
Technology
Electronics
Gaming
Linux
Anything
Site News

Unique visit count:
1 visits on page.
742 visits on site.
Detailed Statistics
Misceleanous Content