lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Hellfire103 to Programmer Humor@lemmy.mlEnglish • 2 months ago

Does this exist anywhere outside of C++?

lemmy.ml

message-square
64
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
167

Does this exist anywhere outside of C++?

lemmy.ml

Hellfire103 to Programmer Humor@lemmy.mlEnglish • 2 months ago
message-square
64
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • Hellfire103OP
    link
    fedilink
    English
    10•
    edit-2
    2 months ago

    Instead of this:

    cout << "Hello world.\n";
    

    You can do this:

    cout << "Hello world." << endl;
    
    • @Daedskin@lemm.ee
      link
      fedilink
      6•2 months ago

      The fact that you used the namespace for cout but not for endl inordinately bothers me

    • @ReversalHatchery@beehaw.org
      link
      fedilink
      English
      1•2 months ago

      something has replaced your lessthan signs with their HTML counterparts. such a silly thing to do in a code block

      • @fubbernuckin@lemmy.dbzer0.com
        link
        fedilink
        English
        3•2 months ago

        I think that’s client side. Doesn’t happen for me.

        • @Cyberfishofant2@lemm.ee
          link
          fedilink
          English
          1•2 months ago

          same here. AP isn’t standardized enough, apparently

          • @ReversalHatchery@beehaw.org
            link
            fedilink
            English
            1•
            edit-2
            2 months ago

            nah its a lemmy app on android that didn’t get an update in ages. probably just uses a faulty markdown renderer

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 43 users / day
  • 1.14K users / week
  • 3.45K users / month
  • 10.2K users / 6 months
  • 36.5K subscribers
  • 1.74K Posts
  • 33.9K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org