My school offers a few of them for download. I need to do my first hello world assigment and I'm not sure which one to download. Basically I need to do something like this //My first C++ program #include <iostream.h> int main () { cout << "The first line. \n"; return 0;} Code (markup): Then save that program as an .exe file so I can open it up. Now which is the best and easiest to use? Thanks
Hmm, this is just straight C++? Then you don't need the enviroment, you just need a compiler. (G++ maybe) Otherwise, get Visual Studio or VS .NET - I believe they have a built in compiler for C++ but the latest is really pushing C# as the latest pimp in C-Land. Their are plenty of free C++ compilers out there
VB2005 obviously is no good to you. VS6.0 is a number of years older than VS2005. If you can get any of them, I'd take VS2005. Seeing as you're obviously making a command line app (as opposed to a GUI), just be sure to create a 'CLR Console Application' and clean out the crap that it gives you to start with Having said all of that... if you are actually developing in a UNIX / Linux environment at school, I would suggest not using any of them and instead invest some time in setting up a Linux distribution. At least then there's a better chance of the code moving nicely from school to home and back again.
Thanks. I went with VS2005. I like it, but I can not find the option to make the .exe file to run it. In other words how do I run my helloworld file i made above. I compiled it via the build option, but cant find the run .exe option found in vs 6.0. As for Linux, I would love to, but school is only pc and vs 2005. thanks
In the 'Debug' menu there are two options that are of use to you: 'Start Debugging' and 'Start Without Debugging'. Alternatively, just look in the build output directory (probably either 'Debug' or 'Release') in your project directory.