Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. uncategorized
  3. @SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g.

@SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g.

Scheduled Pinned Locked Moved uncategorized
2 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • karolherbst@chaos.socialK This user is from outside of this forum
    karolherbst@chaos.socialK This user is from outside of this forum
    karolherbst@chaos.social
    wrote last edited by
    #1

    @SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g. if it's "struct my_awesome_struct_with_a_very_long_name")

    a1ba@suya.placeA 1 Reply Last reply
    0
    • karolherbst@chaos.socialK karolherbst@chaos.social

      @SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g. if it's "struct my_awesome_struct_with_a_very_long_name")

      a1ba@suya.placeA This user is from outside of this forum
      a1ba@suya.placeA This user is from outside of this forum
      a1ba@suya.place
      wrote last edited by
      #2
      @karolherbst @SRAZKVT I got used to use variable name just in case if it's type is going to be changed.
      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups