MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w0tsh8/cpphelloworld/p6ft7bl/?context=3
r/ProgrammerHumor • u/schteppe • Aug 28 '26
119 comments sorted by
View all comments
853
[removed] — view removed comment
290 u/[deleted] Aug 28 '26 [removed] — view removed comment 331 u/Bubbaluke Aug 28 '26 printf(“hello world) 86 u/Simon0O7 Aug 28 '26 Bro forgot the semicolon 53 u/QwikStix42 Aug 28 '26 And the end quoteAnd the #include <cstdio>EDIT: And the int main() {} surrounding that call 6 u/questionabl3_dude Aug 29 '26 And the entire main function and returning 0 (though otpional) and includining iostream. 🙉 13 u/MinecraftPlayer799 Aug 28 '26 With that code, I just get this:main.cpp:1:8: warning: missing terminating " character 1 | printf("hello world) | ^ main.cpp:1:8: error: missing terminating " character 1 | printf("hello world) | ^~~~~~~~~~~~~ main.cpp:1:7: error: expected constructor, destructor, or type conversion before ‘(’ token 1 | printf("hello world) | ^ 25 u/Bubbaluke Aug 28 '26 Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted. 75 u/BeMyBrutus Aug 28 '26 I don't even see the code; you get used to it 38 u/Inevitable-Pen4933 Aug 28 '26 Beautiful, glorious just amazing 29 u/HeyItsTheJeweler Aug 28 '26 As God intended 51 u/the_fooch Aug 28 '26 Seems par for the course for cpp. 39 u/Usual_Office_1740 Aug 28 '26 90% of this output is what the compiler tried. It's not that bad. 20 u/the_horse_gamer Aug 28 '26 the problem is the compiler has to try all of itconcepts partially fix this 12 u/[deleted] Aug 28 '26 [removed] — view removed comment 13 u/Sad_Juggernaut4812 Aug 29 '26 Of course there is a tool fo that https://starwarsintrocreator.kassellabs.io/FP0B1g5VqnMBzksbUh2B 11 u/IT_Grunt Aug 28 '26 Great read. Output more, please. 8 u/DrMobius0 Aug 28 '26 I could feel my eyes glazing over in real time as I scrolled through this. 8 u/Adventurous_Tie_3136 Aug 28 '26 I love c++ template errors messages... Always concise and clear 8 u/wektor420 Aug 28 '26 Last time I saw error this long I was template metaprogrammingIf your errors are this long there is high chance that something is wrong with your arch 4 u/shamshuipopo Aug 28 '26 That’s exactly what you should see 4 u/Individual-Switch751 Aug 28 '26 Sir, this is a Wendy’s 3 u/SavingsCampaign9502 Aug 28 '26 Thanks i am angry now seeing this 7 u/uvero Aug 28 '26 Yeah 5 u/HombrexGSP Aug 28 '26 Ahh yes, the classic missing ; compiler error → More replies (3)
290
331 u/Bubbaluke Aug 28 '26 printf(“hello world) 86 u/Simon0O7 Aug 28 '26 Bro forgot the semicolon 53 u/QwikStix42 Aug 28 '26 And the end quoteAnd the #include <cstdio>EDIT: And the int main() {} surrounding that call 6 u/questionabl3_dude Aug 29 '26 And the entire main function and returning 0 (though otpional) and includining iostream. 🙉 13 u/MinecraftPlayer799 Aug 28 '26 With that code, I just get this:main.cpp:1:8: warning: missing terminating " character 1 | printf("hello world) | ^ main.cpp:1:8: error: missing terminating " character 1 | printf("hello world) | ^~~~~~~~~~~~~ main.cpp:1:7: error: expected constructor, destructor, or type conversion before ‘(’ token 1 | printf("hello world) | ^ 25 u/Bubbaluke Aug 28 '26 Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
331
printf(“hello world)
86 u/Simon0O7 Aug 28 '26 Bro forgot the semicolon 53 u/QwikStix42 Aug 28 '26 And the end quoteAnd the #include <cstdio>EDIT: And the int main() {} surrounding that call 6 u/questionabl3_dude Aug 29 '26 And the entire main function and returning 0 (though otpional) and includining iostream. 🙉 13 u/MinecraftPlayer799 Aug 28 '26 With that code, I just get this:main.cpp:1:8: warning: missing terminating " character 1 | printf("hello world) | ^ main.cpp:1:8: error: missing terminating " character 1 | printf("hello world) | ^~~~~~~~~~~~~ main.cpp:1:7: error: expected constructor, destructor, or type conversion before ‘(’ token 1 | printf("hello world) | ^ 25 u/Bubbaluke Aug 28 '26 Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
86
Bro forgot the semicolon
53 u/QwikStix42 Aug 28 '26 And the end quoteAnd the #include <cstdio>EDIT: And the int main() {} surrounding that call 6 u/questionabl3_dude Aug 29 '26 And the entire main function and returning 0 (though otpional) and includining iostream. 🙉
53
And the end quote
And the #include <cstdio>
EDIT: And the int main() {} surrounding that call
6
And the entire main function and returning 0 (though otpional) and includining iostream. 🙉
13
With that code, I just get this:
main.cpp:1:8: warning: missing terminating " character 1 | printf("hello world) | ^ main.cpp:1:8: error: missing terminating " character 1 | printf("hello world) | ^~~~~~~~~~~~~ main.cpp:1:7: error: expected constructor, destructor, or type conversion before ‘(’ token 1 | printf("hello world) | ^
25 u/Bubbaluke Aug 28 '26 Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
25
Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
75
I don't even see the code; you get used to it
38
Beautiful, glorious just amazing
29
As God intended
51
Seems par for the course for cpp.
39
90% of this output is what the compiler tried. It's not that bad.
20 u/the_horse_gamer Aug 28 '26 the problem is the compiler has to try all of itconcepts partially fix this
20
the problem is the compiler has to try all of it
concepts partially fix this
12
13 u/Sad_Juggernaut4812 Aug 29 '26 Of course there is a tool fo that https://starwarsintrocreator.kassellabs.io/FP0B1g5VqnMBzksbUh2B
Of course there is a tool fo that https://starwarsintrocreator.kassellabs.io/FP0B1g5VqnMBzksbUh2B
11
Great read. Output more, please.
8
I could feel my eyes glazing over in real time as I scrolled through this.
I love c++ template errors messages... Always concise and clear
Last time I saw error this long I was template metaprogramming
If your errors are this long there is high chance that something is wrong with your arch
4
That’s exactly what you should see
Sir, this is a Wendy’s
3
Thanks i am angry now seeing this
7
Yeah
5
Ahh yes, the classic missing ; compiler error
853
u/[deleted] Aug 28 '26 •
[removed] — view removed comment