I tried searching, honestly, but I'm such a novice that I need to ask you a seemingly stupid question. Here it is: how do I program in C++ on a Mac?
My background: I learnt how to program on a sorta fake teaching language called "Turing," in highschool, which wasn't a bad way to teach me now that I think back. Since then I've learned how to program in C and Matlab, but that was some semi-basic stuff and only for a few months for a class in Uni.
But here's the funny thing: I don't know anything about programming! I need to learn C++ to program Geant 4 Monte Carlo code. I don't even know what to use to program with? I mean, where do I type the code? What do I have to download so that I can type the code into it and compile it? Is there a basic screen somewhere in OSX that lets me type in some programming code in C++ or a bunch of different programming lanugages, and then later allows me to use the proper compiler to compile it??
The only thing I found when searching is something about XCode and Project Builder and G++. Project Builder sounds right because of its name. Can this stuff be found for free, or is it something that another company charges for? I just need to fiddle with it using a C++ Programming book that I'll purchase later to help me learn.
I need this thing to tell me if I've made a syntax error and stuff like that, because I know I'll be doing that heaps!
My background: I learnt how to program on a sorta fake teaching language called "Turing," in highschool, which wasn't a bad way to teach me now that I think back. Since then I've learned how to program in C and Matlab, but that was some semi-basic stuff and only for a few months for a class in Uni.
But here's the funny thing: I don't know anything about programming! I need to learn C++ to program Geant 4 Monte Carlo code. I don't even know what to use to program with? I mean, where do I type the code? What do I have to download so that I can type the code into it and compile it? Is there a basic screen somewhere in OSX that lets me type in some programming code in C++ or a bunch of different programming lanugages, and then later allows me to use the proper compiler to compile it??
The only thing I found when searching is something about XCode and Project Builder and G++. Project Builder sounds right because of its name. Can this stuff be found for free, or is it something that another company charges for? I just need to fiddle with it using a C++ Programming book that I'll purchase later to help me learn.
I need this thing to tell me if I've made a syntax error and stuff like that, because I know I'll be doing that heaps!