C++ Jokes (new)

Please post your jokes about C++ here!
1
2
3
4
5
6
7
8
9
#include <cstdio>
void tellStory(){
printf("Once there was a very famous building. \n");
printf("An actor was living in it. \nHe was telling stories.\n");
printf("The story was like this: \n\b"); tellStory();
}
int main(){
tellStory();
}
Last edited on
No matter which one you input, the result will still be 1.

1
2
3
4
5
6
7
8
9
10
#include <iostream>
using namespace std;
int main(){
bool to_be;
int question;
cin >> to_be;
question=( to_be ) || (! to_be );
// To be OR NOT To be, that is a question.
cout << question;
}
Last edited on
The C spilled his beer all over the C++'s shirt. Outraged, C++ shouted, "Good god, man! Have you no class?"
From http://www.cplusplus.com/forum/lounge/52821/#msg286245:
Cherapy wrote:
C++, where your pointers dangle and friends get to play with your private members.
Last edited on
...so I said to the bartender "Make it a double".
zaphraud walks into a bar and asks for 1.014 root beers.
The bartender says, “I’ll have to charge you extra, that’s a root beer float”.

^insert before
Registered users can post here. Sign in or register to post.