Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Programming in C
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 924632" data-attributes="member: 11647"><p>XCode has it's own editor with benefits over TextEdit. I would recommend using the XCode editor.</p><p></p><p>You say you have installed XCode, so you have the C compiler already installed.</p><p></p><p>Look under XCode's 'Build' menu for building and running code. As an alternative, you can use Terminal by setting your folder location and executing C build commands. This '<a href="http://cocoadevcentral.com/articles/000081.php" target="_blank">C Tutorial for Cocoa</a>' discusses shows some of the compiler commands. You'll have to look for some Terminal reference since I don't know of any. To change directories you use the cd command. Open Terminal, in the Utilities folder, and type 'man cd' without the quotes. man is the command used to get help on other commands.</p><p></p><p>Type the following into Google to find some help on learning to use Terminal</p><p></p><p style="margin-left: 20px">"OS X" learning to use terminal</p><p></p><p>You are getting frustrated because you are piling on a lot of things in a jumbled manner. It would be best to take a course or find a book for that can guide you.</p><p></p><p>I just found <a href="http://www.masters-of-the-void.com/" target="_blank">Masters of the Void</a>. It is something you should look at. I found it by typing the following into Google;</p><p></p><p style="margin-left: 20px">learning to use XCode for C</p></blockquote><p></p>
[QUOTE="xstep, post: 924632, member: 11647"] XCode has it's own editor with benefits over TextEdit. I would recommend using the XCode editor. You say you have installed XCode, so you have the C compiler already installed. Look under XCode's 'Build' menu for building and running code. As an alternative, you can use Terminal by setting your folder location and executing C build commands. This '[URL="http://cocoadevcentral.com/articles/000081.php"]C Tutorial for Cocoa[/URL]' discusses shows some of the compiler commands. You'll have to look for some Terminal reference since I don't know of any. To change directories you use the cd command. Open Terminal, in the Utilities folder, and type 'man cd' without the quotes. man is the command used to get help on other commands. Type the following into Google to find some help on learning to use Terminal [INDENT]"OS X" learning to use terminal[/INDENT] You are getting frustrated because you are piling on a lot of things in a jumbled manner. It would be best to take a course or find a book for that can guide you. I just found [URL="http://www.masters-of-the-void.com/"]Masters of the Void[/URL]. It is something you should look at. I found it by typing the following into Google; [INDENT]learning to use XCode for C[/INDENT] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Programming in C
Top