Click Here
Home Blog Gallery Links Tutorials Projects
[C++] Random Junk Generation 2010-07-02 20:16
There's a new random generation code whitch was succefully coded from scratch. The thing is that it output random junk symbols all time. The code is below :D
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(){
while(1) cout << (char) (rand() % 255);
}

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.
59 visits on site.
Detailed Statistics
Misceleanous Content