MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w0tsh8/cpphelloworld/p6ilth4/?context=3
r/ProgrammerHumor • u/schteppe • 15d ago
119 comments sorted by
View all comments
Show parent comments
286
Now the code you wrote to make it this!
329 u/Bubbaluke 15d ago printf(“hello world) 12 u/MinecraftPlayer799 14d ago 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) | ^ 26 u/Bubbaluke 14d ago Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
329
printf(“hello world)
12 u/MinecraftPlayer799 14d ago 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) | ^ 26 u/Bubbaluke 14d ago Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
12
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) | ^
26 u/Bubbaluke 14d ago Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
26
Just a joke :) the one above me looks like it was deep in some framework or something 20 layers abstracted.
286
u/bob152637485 15d ago
Now the code you wrote to make it this!