Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 14 days agoDoes this exist anywhere outside of C++?external-linkmessage-square23fedilinkarrow-up1118arrow-down16
arrow-up1112arrow-down1external-linkDoes this exist anywhere outside of C++?Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 14 days agomessage-square23fedilink
minus-squareHellfire103@lemmy.caOPlinkfedilinkEnglisharrow-up11·edit-214 days agoInstead of this: cout << "Hello world.\n"; You can do this: cout << "Hello world." << endl;
minus-squareDaedskin@lemm.eelinkfedilinkarrow-up6·13 days 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