lemmy.dudeami.win
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
The Picard Maneuver@lemmy.world to RetroGaming@lemmy.worldEnglish · 7 months ago

How hard could it be?

lemmy.world

external-link
message-square
176
fedilink
1.38K
external-link

How hard could it be?

lemmy.world

The Picard Maneuver@lemmy.world to RetroGaming@lemmy.worldEnglish · 7 months ago
message-square
176
fedilink
  • raspberriesareyummy@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    7 months ago
      std::cout << "C++ is simple and fun ... you cretin" <<std::endl;
    

    You dropped something.

    • BigDanishGuy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      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!

      • raspberriesareyummy@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        Interesting… today I learned. But since I only ever use std::cout in my debugging code (i.e. DURING debugging) or for status outputs of the application (for small apps), and for everything else I use my own logging framework that uses printf & syslog udp messages… luckily nothing I need to refactor :D

RetroGaming@lemmy.world

retrogaming@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !retrogaming@lemmy.world

Vintage gaming community.

Rules:

  1. Be kind.
  2. No spam or soliciting for money.
  3. No racism or other bigotry allowed.
  4. Obviously nothing illegal.

If you see these please report them.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 297 users / day
  • 1.75K users / week
  • 3.46K users / month
  • 9.9K users / 6 months
  • 1 local subscriber
  • 22.5K subscribers
  • 1.69K Posts
  • 17.6K Comments
  • Modlog
  • mods:
  • Xilly@lemmy.world
  • Tenthrow@lemmy.world
  • gts@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org