• grue@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    1 year ago

    Pro tip: the arguments to main() don’t have to be named argc and argv.

    Also, you forgot to #define an alias for atoi, and number, n, and i could’ve been named something more on fleek.

    • bronzle@lemm.ee
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Also could have takin out mains return type and used sus chief

        • darcy
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          sorry i misread. i thought u meant number was not #define’d