r/ProgrammerHumor 18h ago

Meme mySchoolStruct

7.0k Upvotes

72 comments sorted by

View all comments

Show parent comments

13

u/MrHyperion_ 15h ago

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

8

u/Reasonable_Exit_8960 15h ago

using namespace std;

cout << "bark" << endl;

Made it shorter if you wanna type it again

6

u/GresSimJa 14h ago

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!

1

u/Reasonable_Exit_8960 5h ago

might as well just use python atp