• 0 Posts
  • 1 Comment
Joined 1Y ago
cake
Cake day: Jun 12, 2023

help-circle
rss

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.