Something Cool I Found.
usandfriends (186)
Dec 24, 2012 at 5:19pm UTC
Well, I think it's cool.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#include <iostream>
using namespace std;
int main()
{
char map[8][24] = {
" " ,
" " ,
" " ,
" " ,
" " ,
" " ,
" " ,
" " ,
};
for (int display = 0; display < 600; display++)
{
cout << map[display];
}
cin.get();
}
Copy/Paste the code and run it with your volume up. This is the raw way to generate random characters. Also, your program will stop running after a while, but don't just close it. Stare in awe at the wonderful characters... ;D
Disclaimer: I am not trying to troll, hack, or disable anyone's computer. Any harmful occurrences are not to be blamed on me.
Last edited on Dec 24, 2012 at 8:31pm UTC
hamsterman (4435)
Dec 24, 2012 at 5:58pm UTC
Yay uninitialized memory. You didn't really need that whole map though...
ModShop (787)
Dec 24, 2012 at 6:46pm UTC
This is the raw way to generate random characters
Not quite :p This is just the way to access memory that contains God knows what and may or may not even be yours...
rapidcoder (736)
Dec 24, 2012 at 6:53pm UTC
Any OS with memory protection won't allow him to see not-his-own memory.
fun2code (1227)
Dec 24, 2012 at 6:57pm UTC
I assume that's what this is about:
Also, your program will stop running after a while, but don't just close it. Stare in awe at the wonderful characters...
if you can see them around the window announcing "We're sorry, but blah.exe encountered a problem and had to close...."
Topic archived. No new replies allowed.