Hellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 13 days agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square60fedilinkarrow-up1153arrow-down19cross-posted to: programmer_humor@programming.dev
arrow-up1144arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103@lemmy.ca to Programmer Humor@lemmy.mlEnglish · 13 days agomessage-square60fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareHellfire103@lemmy.caOPlinkfedilinkEnglisharrow-up10·edit-213 days agoInstead of this: std::cout << "Hello world.\n"; You can do this: std::cout << "Hello world." << endl;
minus-squareDaedskin@lemm.eelinkfedilinkarrow-up6·12 days agoThe fact that you used the namespace for cout but not for endl inordinately bothers me
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up1·13 days agosomething has replaced your lessthan signs with their HTML counterparts. such a silly thing to do in a code block
Instead of this:
You can do this:
The fact that you used the namespace for
cout
but not forendl
inordinately bothers mesomething has replaced your lessthan signs with their HTML counterparts. such a silly thing to do in a code block