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
Developing on a macbook
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="boletje" data-source="post: 341651" data-attributes="member: 18935"><p><strong>coding on mac</strong></p><p></p><p>so i downloaded apple developer tools (Xcode 2) and installed it. I made doubly sure i had GCC 3.3 and 4.0 installed aswell as X11 but, i assume the main installer installs these rather then me having to go through every package manually.</p><p></p><p>I wrote a simple "Hello" program using the text editor "VI" in terminal. But..im a little unsure how to execute. normlly i did "a.out test" and it would compile and run..but it appears differently in OS X. </p><p></p><p>Anything im doing wrong? my code is below..but i know its rght lol..</p><p></p><p>#include stdio.h</p><p></p><p>main()</p><p>{</p><p> printf("Hello worl/n");</p><p>}</p></blockquote><p></p>
[QUOTE="boletje, post: 341651, member: 18935"] [b]coding on mac[/b] so i downloaded apple developer tools (Xcode 2) and installed it. I made doubly sure i had GCC 3.3 and 4.0 installed aswell as X11 but, i assume the main installer installs these rather then me having to go through every package manually. I wrote a simple "Hello" program using the text editor "VI" in terminal. But..im a little unsure how to execute. normlly i did "a.out test" and it would compile and run..but it appears differently in OS X. Anything im doing wrong? my code is below..but i know its rght lol.. #include stdio.h main() { printf("Hello worl/n"); } [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Developing on a macbook
Top