minus-squareexoplanetary@lemmy.worldtoProgrammer Humor@lemmy.ml•War Crimeslinkfedilinkarrow-up12·1 year agoYep, main returns an int in C++. It’s for the return code - if it returns 0, that indicates the program ran ok, if it returns anything else some sort of error occurred. linkfedilink
minus-squareexoplanetary@lemmy.worldtoMemes@lemmy.ml•I have a theory that the more lore a franchise has, the more of an autistic fanbase it has. I made a graphic about it.linkfedilinkarrow-up3·1 year agoI feel called out by it on a personal level linkfedilink
Yep, main returns an int in C++. It’s for the return code - if it returns 0, that indicates the program ran ok, if it returns anything else some sort of error occurred.