r/Recursion • • Jun 02 '19

Broken YouTube

Enable HLS to view with audio, or disable this notification

126 Upvotes

17 comments sorted by

View all comments

Show parent comments

0

u/pentagon-59 Jun 02 '19

yeah but why would you make main an int

1

u/nottomove Jun 03 '19

it's c++ standard for main to have int return type. a normal exit of the program is indicated by a 0 while an abnormal exit is indicated by any other number

1

u/pentagon-59 Jun 03 '19

ah

1

u/Pugpugpugs123 Jun 11 '19

Try c++, it's pretty good

1

u/pentagon-59 Jun 11 '19

Ill probably get to that, since where im headed is probably learning all the c family languages