beginner code question
I am using Xcode to learn C from a windows-oriented "teach yourself" book. The executable file for the Hello World! program ends in .exe. I imagine that this would run if you double-clicked it in a windows operating system. Is there an equivalent extension for the mac?
Or is it always only ran through the terminal program in the Xcode program?
Thanks, sorry for the newbie questions.
Or is it always only ran through the terminal program in the Xcode program?
Thanks, sorry for the newbie questions.
Comments
I am using Xcode to learn C from a windows-oriented "teach yourself" book. The executable file for the Hello World! program ends in .exe. I imagine that this would run if you double-clicked it in a windows operating system. Is there an equivalent extension for the mac?
Or is it always only ran through the terminal program in the Xcode program?
Thanks, sorry for the newbie questions.
It's .app. Mac OS X application is actually folder containing executable itself (doesn't need to have extension, it's all managed by permissions) and resources inside.
Xcode is much like Windows IDEs it compiles and then runs built applications just upon clicking the button, too.
The ".app" extension is for OS X GUI application bundles.