Hellfire103 to Programmer Humor@lemmy.mlEnglish • 21 days agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square58fedilinkarrow-up1165arrow-down19cross-posted to: programmer_humor@programming.dev
arrow-up1156arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlHellfire103 to Programmer Humor@lemmy.mlEnglish • 21 days agomessage-square58fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareHellfire103OPlinkfedilinkEnglish10•edit-221 days agoInstead of this: cout << "Hello world.\n"; You can do this: cout << "Hello world." << endl;
minus-square@Daedskin@lemm.eelinkfedilink6•20 days agoThe fact that you used the namespace for cout but not for endl inordinately bothers me
Instead of this:
cout << "Hello world.\n";
You can do this:
cout << "Hello world." << endl;
The fact that you used the namespace for
cout
but not forendl
inordinately bothers me