@gpw@lemmy.ml to Programmer Humor@lemmy.ml • 2 years agono caplemmy.mlimagemessage-square33fedilinkarrow-up1634arrow-down10
arrow-up1634arrow-down1imageno caplemmy.ml@gpw@lemmy.ml to Programmer Humor@lemmy.ml • 2 years agomessage-square33fedilink
minus-square@grue@lemmy.mllinkfedilink26•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-square@bronzle@lemm.eelinkfedilink7•edit-22 years agoAlso could have takin out mains return type and used sus chief
minus-square@grue@lemmy.mllinkfedilink5•2 years agoYes, as are n and i. Do they not deserve ‘fleekness?’
minus-squaredarcylinkfedilink1•2 years agosorry i misread. i thought u meant number was not #define’d
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
number
is a variable i thinkYes, as are
n
andi
. Do they not deserve ‘fleekness?’sorry i misread. i thought u meant
number
was not#define
’d