C++ Programming with XCode2
In one of my previous articles I wrote about the difficulty I had writing C++ programs in XCode 2. After bit of googling I managed to find the answer to that. Here is how I did it.
1) Load XCode and click File -> New Project.
2) Select C++ Tools.
3) Select the destination and a name to the project.
4) In the project folder you should see three files.
5) Double click on main.cpp and enter your code. (When you click on main.cpp you should see the code for displaying “Hello, World!”).
6) Save your project.
7) Click on Build and Go.
Bingo, you are done.
1) Load XCode and click File -> New Project.
2) Select C++ Tools.
3) Select the destination and a name to the project.
4) In the project folder you should see three files.
5) Double click on main.cpp and enter your code. (When you click on main.cpp you should see the code for displaying “Hello, World!”).
6) Save your project.
7) Click on Build and Go.
Bingo, you are done.
2 Comments:
by google, you mean macforums.com right?
Yes. I found the forum through google. Here is the link to the original post.
http://www.mac-forums.com/forums/showthread.php?t=28552
Post a Comment
Subscribe to Post Comments [Atom]
<< Home