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";
}
<< XUbuntu Linux Live Recovery and Rescue CD [C++] Random Junk Generation >>
All Entries

Add a Comment

Get Your IP Instantly
Name:
Enter the text shown in the image (case sensitive):
Email:

The site engine has been coded from scratch. The modules are coded separately eath other.
Server Time: 23:39. Dates and times are shown in Lithuanian (GMT +2) timezone
Name:
Password:

Enter Captcha (Case Sensitive):


Register
English
Lietuviškai

RSS Feed
Main Content
Carmageddon
Programming
Technology
Electronics
Linux
Anything
Site Info

Unique visit count:
5 visits on page.
3603 visits on site.
Detailed Statistics