gpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agono caplemmy.mlimagemessage-square2fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageno caplemmy.mlgpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square2fedilink
minus-squaregrue@lemmy.mllinkfedilinkarrow-up1·1 year agoPro 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.
Pro tip: the arguments to
main()
don’t have to be namedargc
andargv
.Also, you forgot to #define an alias for
atoi
, andnumber
,n
, andi
could’ve been named something more on fleek.