@Shady_Shiroe to Programmer [email protected] • 1 year agoWar Crimesimagemessage-square38arrow-up1770arrow-down125
arrow-up1745arrow-down1imageWar Crimes@Shady_Shiroe to Programmer [email protected] • 1 year agomessage-square38
minus-square@exoplanetarylink14•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.
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.
that actually makes sense. thanks for that explanation.