Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

benlangdon

macrumors 65816
Original poster
Jan 13, 2008
1,497
0
so installed x code but now im trying to use it and its um... where do i write?
i am doing very basic c++
so... where do i start this thing? i have no idea what im doing ive used code warrior once and eclipse on a pc very very briefly

any help thanks
 

benlangdon

macrumors 65816
Original poster
Jan 13, 2008
1,497
0
is this only c because i need c++
man i wrote this program up and it doesn't work i need to know how to just change it to compile c++
 

szymczyk

macrumors regular
Mar 5, 2006
187
17
The Dave Mark book does not cover C++.

You need to create a C++ Tool project. Start Xcode, and choose File > New Project. A dialog box with a list of project types will open. Select C++ Tool, which is in the Command Line Utility section.

If you click the link in my signature, you can find an article that walks the reader through the creation of a simple C++ program in Xcode.
 

benlangdon

macrumors 65816
Original poster
Jan 13, 2008
1,497
0
The Dave Mark book does not cover C++.

You need to create a C++ Tool project. Start Xcode, and choose File > New Project. A dialog box with a list of project types will open. Select C++ Tool, which is in the Command Line Utility section.

If you click the link in my signature, you can find an article that walks the reader through the creation of a simple C++ program in Xcode.

thanks i already figured it out though.:D
if you could help me with one last thing :)
when you enter in a variable when running the program how do you write the code so that it can be a decimal. don't you put a % somewhere:confused:
 

sord

macrumors 6502
Jun 16, 2004
352
0
ya i know im taking computer science right now so... ya my teacher can barrely speak english and says ok and right at least 200+ times during class so its ...
Try not to judge your professors just for that. I had a professor in uni that was like that, but was also one of the few professors who actually knew what he was saying (probably the best in the major at my uni)... not to mention it doesn't look like you can write English very well either
 

benlangdon

macrumors 65816
Original poster
Jan 13, 2008
1,497
0
ya, i know i get it.
she used to work for ibm.
but still i cannot understand what she says.
also, determining my english skills based on how I type on a forum is ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.