gpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agono caplemmy.mlimagemessage-square34fedilinkarrow-up1634arrow-down135
arrow-up1599arrow-down1imageno caplemmy.mlgpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square34fedilink
minus-squaregrue@lemmy.mllinkfedilinkarrow-up26·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.
minus-squarebronzle@lemm.eelinkfedilinkarrow-up7arrow-down1·edit-21 year agoAlso could have takin out mains return type and used sus chief
minus-squaregrue@lemmy.mllinkfedilinkarrow-up5·1 year agoYes, as are n and i. Do they not deserve ‘fleekness?’
minus-squaredarcy@sh.itjust.workslinkfedilinkarrow-up1·1 year 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