gpw@lemmy.ml to Programmer Humor@lemmy.ml • 1 year agono capimagemessage-square8 fedilinkarrow-up1249
arrow-up1249imageno capgpw@lemmy.ml to Programmer Humor@lemmy.ml • 1 year agomessage-square8 Commentsfedilink
minus-squaregrue@lemmy.mlhexbear12·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. linkfedilink
minus-squarebronzle@lemm.eehexbear5·edit-21 year agoAlso could have takin out mains return type and used sus chief linkfedilink
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