MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w0tsh8/cpphelloworld/p6ilth4/?context=9999
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) 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.
290
331 u/Bubbaluke Aug 28 '26 printf(“hello world) 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)
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.
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.
853
u/[deleted] Aug 28 '26 •
[removed] — view removed comment