Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 months agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square24fedilinkarrow-up16arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up16arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square24fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareHellfire103@lemmy.caOPlinkfedilinkEnglisharrow-up0·edit-22 months agoInstead of this: cout << "Hello world.\n"; You can do this: cout << "Hello world." << endl;
minus-squareDaedskin@lemm.eelinkfedilinkarrow-up1·2 months agoThe fact that you used the namespace for cout but not for endl inordinately bothers me
Instead of this:
You can do this:
The fact that you used the namespace for
cout
but not forendl
inordinately bothers me