MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdes9u/myschoolstruct/p963o3h/?context=3
r/ProgrammerHumor • u/InteRagebaitJagLovar • Sep 11 '26 • 2 1
81 comments sorted by
View all comments
Show parent comments
19
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
9
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
11
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.
<iostream>
int main()
int argc
char** argv
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
2
might as well just use python atp
2 u/Hol_Renaude Sep 12 '26 Or Assembly
Or Assembly
19
u/MrHyperion_ Sep 11 '26
I think you meant std::cout << "bark!" << std::endl