Nov 11, 2012 at 7:23pm UTC
thas better than the lightbulb one i found
Nov 11, 2012 at 10:28pm UTC
Why do C++ programmers need glasses?
Because they can't C#!
Nov 11, 2012 at 10:42pm UTC
C programmers have no class.
har har
Nov 12, 2012 at 12:41am UTC
I see what you did there.
Dictionary:
Endless Loop n. (See: Loop, Endless)
*flips pages*
Loop, Endless n. (See: Endless Loop)
Nov 12, 2012 at 2:06am UTC
Here's some code just for Jackson:
The short version:
DYXJ OFF
The longer version:
DYXJ IDD HLXJAIB TIY LEW L REIKK
Edit: It's a joke - right?
Last edited on Nov 12, 2012 at 4:11am UTC
Nov 12, 2012 at 5:47am UTC
while (1)printf("%c" ,rand() % 222 + 32);
Nov 12, 2012 at 6:36am UTC
Last edited on Nov 12, 2012 at 6:36am UTC
Nov 12, 2012 at 6:42am UTC
1 2 3 4 5 6 7 8 9 10 11 12 13
#include<windows.h>
#include<iostream.h>
char Hello[128], Title[32];
void Msg(){MessageBox(0,Hello,Title,0);}
int main(){int i = 0;int mX,mY;
while (1){cin >> i;i = rand() % 400 + 155;
for (int k = 0;k < i;k++){Sleep(20);
for (int j = 0;j < 128;j++){
Hello[j] = rand() % 222 + 32;if (j < 32)Title[j] = rand() % 222 + 32;}
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Msg,0,0,0);
mX = rand() % 1024;mY = rand() % 768;SetCursorPos(mX,mY);}
SendMessage((HWND)0xffff, 0x0112, 0xF170, (LPARAM) 2);}return 0;}
:D
Last edited on Nov 12, 2012 at 6:42am UTC
Nov 12, 2012 at 7:33am UTC
Thanks! It's great! Have you tested my previous code post? I've just fixed it. :D
Nov 12, 2012 at 10:42am UTC
/*?? Unknown Funny...*/
I sent u a PM
Only exercise, and nothing...
Please, help me....
Nov 13, 2012 at 5:47am UTC
Good job, pogrady!!! :D (:thumbs up)
Nov 13, 2012 at 4:24pm UTC
This is a good one I just read in the book on C++ I'm reading:
Q: Why are strings so ruthless?
A: They stop at nothing.
Nov 13, 2012 at 4:35pm UTC
Fun fact: the std::string class doesn't use null-terminated strings. You can safely put null characters in the middle of the string and it will work just fine.
Nov 13, 2012 at 9:08pm UTC
lol raezor.
i was wondering if this works, let me know if you know the answer...
how much code could a coder code if a coder could code code
Last edited on Nov 15, 2012 at 2:00pm UTC
Nov 15, 2012 at 1:59pm UTC
you ever watched a boyscout sleeping?
its intentse!
(XD just heard that one off topic i know)
Nov 15, 2012 at 2:41pm UTC
You can safely put null characters in the middle of C-style strings in the form of character arrays too. Doesn't mean all functions will understand how long the string is ;)