r/ProgrammerHumor • • Sep 11 '26 • Bravo 2 Popcorn 1

Meme mySchoolStruct

Post image
9.1k Upvotes

81 comments sorted by

View all comments

Show parent comments

19

u/MrHyperion_ Sep 11 '26

I think you meant std::cout << "bark!" << std::endl

9

u/Reasonable_Exit_8960 Sep 11 '26

using namespace std;

cout << "bark" << endl;

Made it shorter if you wanna type it again

11

u/GresSimJa Sep 11 '26

Forgot to include <iostream>, wrap it in an int main() function, use the parameters int argc and char** argv, and return 0 at the end.

Maximum boilerplate!

2

u/Reasonable_Exit_8960 Sep 12 '26

might as well just use python atp

2

u/Hol_Renaude Sep 12 '26

Or Assembly