Hi, I use Microsoft Visual Studio 2010 at school. I was wondering what the best program to do basic c++ coding and compiling would be? Preferably free. It's just so I can work on the programs at home, which I don't have to do, but I want to. Thanks
For a full IDE: XCode. On a DVD that came with your machine, or register for free and download, http://developer.apple.com.
For command-line tools:
Any text editor, g++, gdb
Text editors are widely available, the rest installs with XCode
-Lee
For free? As far as I can see, it costs $99 per year to be in the dev program.
Xcode is "free" (if you have a Mac and OS X).
For free? As far as I can see, it costs $99 per year to be in the dev program.
I would bet that the goal is to ingratiate their tools to the devs of tomorrow so they are reliant on, familiar with, and tightly bound to MS tools and platforms.
Read this other thread and make Hello World work. For most basic purposes that's all you need.
https://forums.macrumors.com/threads/1090449/
g++ installed via Xcode, a text editor of your choice and Terminal.app
If you don't understand jargon you need to be more specific, we can't tell what you get or don't get.
B
Thanks, OK I download Xcode -
Will it install on its own?
After installation I open Xcode, how do I get to programming?
I don't understand what a text editor is, it sounds like an additional program
and
I don't understand what a terminal app, it also sounds like additional program
If so where can I download them?
After I get/have a text editor + terminal app
How do I use those in conjunction with Xcode
Finally, what is the purpose and function of these three things
Xcode
text editor
terminal app
Which one do I type the code into?
Which one compiles/debugs the program?
You see, I am so ignorant I am virtually a newborn -
I really would like to learn, but my foundation is relative to the program we use in school. My ability to use that program is based upon following steps
1 through 10 - not an actual understanding of how I set the "stage" to input the code itself.
At school my steps are -
1 Launch Microsoft Visual Studios
2 Click "new project"
3 Click visual C++
4 Click WIN 32 Console Application
5 Name project
6 Go to "project"
7 Click new project
8 Add cpp file (blank)
9 I type in my program
10 debug or compile next???
thats what I know
I understand the language, but I do not understand the set up and the step to
execute the finished program.
Thank you for your time
B
Did we mention that the version of Xcode that was current when your Mac was shipped is on that second grey disc that came with your Mac labelled "Optional Installs"?I have about 4 decades, 6 years and three days until this download is complete
could not find xcode after the new install was complete - I am dangerous, look out now!!!![]()
'Crap - OK I installed the other DVD "applications install DVD" the second one I got with the rig
Now I can't find my "hard drive" it went poof and disappeared, also search my applications
and could not find xcode after the new install was complete - I am dangerous, look out now!!!
God save the Queen
tried to launch and "Xcode cannot be opened because of a problem"