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
Mac Terminal
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="DoubleCap" data-source="post: 338541" data-attributes="member: 27233"><p>Install gcc. Navigate to your folder where the .cpp or .h files are stored.</p><p></p><p>To compile a prog.cpp, for example:</p><p></p><p>make prog</p><p></p><p>... That should make an executable.. then type:</p><p></p><p>./prog</p><p></p><p>The ./ denotes current directory</p></blockquote><p></p>
[QUOTE="DoubleCap, post: 338541, member: 27233"] Install gcc. Navigate to your folder where the .cpp or .h files are stored. To compile a prog.cpp, for example: make prog ... That should make an executable.. then type: ./prog The ./ denotes current directory [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Mac Terminal
Top