The Picard Maneuver@lemmy.world to RetroGaming@lemmy.worldEnglish · 1 day agoHow hard could it be?lemmy.worldimagemessage-square134fedilinkarrow-up11.17Karrow-down113
arrow-up11.16Karrow-down1imageHow hard could it be?lemmy.worldThe Picard Maneuver@lemmy.world to RetroGaming@lemmy.worldEnglish · 1 day agomessage-square134fedilink
minus-squareraspberriesareyummy@lemmy.worldlinkfedilinkEnglisharrow-up3·4 hours ago std::cout << "C++ is simple and fun ... you cretin" <<std::endl; You dropped something.
minus-squareBigDanishGuy@sh.itjust.workslinkfedilinkEnglisharrow-up2·36 minutes agoWell ackshually <<std::endl is not the preferred way to do it according to the C++ Core Guidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rio-endl So to be a good little lemming I’ve added a \n, but I refuse to flush!
std::cout << "C++ is simple and fun ... you cretin" <<std::endl;
You dropped something.
Well ackshually <<std::endl is not the preferred way to do it according to the C++ Core Guidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rio-endl
So to be a good little lemming I’ve added a \n, but I refuse to flush!