lemux
  • 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

message-square
177
fedilink
1.38K

How hard could it be?

lemmy.world

The Picard Maneuver@lemmy.world to RetroGaming@lemmy.worldEnglish · 7 months ago
message-square
177
fedilink
  • 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.

  • 809 users / day
  • 1.76K users / week
  • 3.6K users / month
  • 10K users / 6 months
  • 1 local subscriber
  • 22.5K subscribers
  • 1.89K Posts
  • 19.7K Comments
  • Modlog
  • mods:
  • Xilly@lemmy.world
  • Tenthrow@lemmy.world
  • gts@lemmy.world
  • BE: 0.19.4
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org