That it continues to run without completion is a problem. The code should start print the output and quit. So how do you stop it when you run it is Xcode?
I'd suggest you try a new clean project, make it a command line tool, type C. Then just compile and run it.
The only difference I see is the non-English char in the comment. Seesm to be the only difference between what you've shown and what I have here. If you want to post the code either here or in dropbox I'll try running it to see if I get the same behavior.
I strongly doubt if there's something wrong with my MacBook...
I don;t think there is anything wrong with your MB but your Xcode is off.






0 comments:
Post a Comment