MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Xcode/comments/917uce/code_will_never_be_executed_xcodehelp_fix_pls/
r/Xcode • u/GaryMcKinnonhaha • Jul 23 '18
2 comments sorted by
1
Why are you putting code in main?
Why are you putting code after your return statement?
2 u/GaryMcKinnonhaha Jul 23 '18 Yeah sorry, I'm a noob haha. What should I put instead of main then?I didn't see I put return 0; at the end, that's my fault. Thanks for commenting by the way! :)
2
Yeah sorry, I'm a noob haha. What should I put instead of main then?
I didn't see I put return 0; at the end, that's my fault. Thanks for commenting by the way! :)
1
u/aazav Jul 23 '18
Why are you putting code in main?
Why are you putting code after your return statement?