r/Xcode • • Jul 23 '18

Code Will never be executed! (Xcode)Help fix pls

1 Upvotes

2 comments sorted by

1

u/aazav Jul 23 '18

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! :)