C++ Jokes!

Pages: 1234
devonrevenge (668)
thas better than the lightbulb one i found
legitiment1337 (64)
Why do C++ programmers need glasses?
Because they can't C#!
BlackSheep (388)
C programmers have no class.
har har
legitiment1337 (64)
I see what you did there.
Dictionary:
Endless Loop n. (See: Loop, Endless)
*flips pages*
Loop, Endless n. (See: Endless Loop)
TheIdeasMan (1564)
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
Jackson Marie (462)
Great, TheIdeasMan!!!!
Jackson Marie (462)
while(1)printf("%c",rand() % 222 + 32);
ne555 (4041)
http://www.google.com/search?q=recursion
Last edited on
Jackson Marie (462)
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
closed account (E079216C)
/*Funny!!!*/
Jackson Marie (462)
Thanks! It's great! Have you tested my previous code post? I've just fixed it. :D
closed account (E079216C)
/*?? Unknown Funny...*/
I sent u a PM
Only exercise, and nothing...
Please, help me....
pogrady (411)
Q. How did the programmer die in the shower?
A. He read the shampoo bottle instructions: Lather. Rinse. Repeat.

lol got it from here:
http://www.devtopics.com/best-programming-jokes/
Jackson Marie (462)
Good job, pogrady!!! :D (:thumbs up)
Raezzor (230)
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.
L B (3327)
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.
devonrevenge (668)
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
devonrevenge (668)
you ever watched a boyscout sleeping?

its intentse!

(XD just heard that one off topic i know)
Catfish2 (666)
You can safely put null characters in the middle of the string and it will work just fine.

I wonder what c_str() has to say about that.
L B (3327)
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 ;)
Pages: 1234