745
War Crimes
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
i'm not used to c++ but...
int main()
?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.