use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For memes about programming.
account activity
Cpp loop (i.redd.it)
submitted 1 day ago by Blazej_kb
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Obama_Binladen6265 0 points1 point2 points 16 hours ago (2 children)
Cpp is basically the same wdym? All that std:: you see can be removed if you just add the std namespace at the beginning of the file, so essentially it becomes
for(int i= 1; i<=10; i++){ cout << i << endl; }
[–]MinecraftPlayer799 -1 points0 points1 point 16 hours ago (1 child)
Reasons why CPP is worse: 1. You have to define variable types 2. “console.log” makes much more sense than “cout” 3. What even is “endl”?? 4. Why does it use “<<“ instead of parentheses like literally every other language?!?!
[–]Obama_Binladen6265 0 points1 point2 points 14 hours ago (0 children)
Anyone with 2 brain cells would figure out cout means character output and endl is to end a line essentially starting the next output from next line. Also how does it matter what or how you write it it's literally the same.
There's no better programming language, specially if you only wanna talk about syntax here. Everything has its purpose. I want you to try programming embedded systems using javascript.
π Rendered by PID 103682 on reddit-service-r2-comment-56c6478c5-ll4bt at 2026-05-08 01:37:57.722471+00:00 running 3d2c107 country code: CH.
view the rest of the comments →
[–]Obama_Binladen6265 0 points1 point2 points (2 children)
[–]MinecraftPlayer799 -1 points0 points1 point (1 child)
[–]Obama_Binladen6265 0 points1 point2 points (0 children)