gpw@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agono caplemmy.mlimagemessage-square8fedilinkarrow-up113arrow-down10
arrow-up113arrow-down1imageno caplemmy.mlgpw@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agomessage-square8fedilink
minus-squaregrue@lemmy.mllinkfedilinkarrow-up1·2 years 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.
minus-squarebronzle@lemm.eelinkfedilinkarrow-up0arrow-down1·edit-22 years agoAlso could have takin out mains return type and used sus chief
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.Also could have takin out mains return type and used
sus chief