I want to learn C++ and I have Linux (Ubuntu) what Compiler will fit a Beginner like me to start practicing with most of the Tutorials and Sources Codes outhere?
One that be specially made for a Beginner, simple to understand, quite User-Friendly.
My first compiler was Dev-C++ which I still use over MSVS 2005 on occasions, it is a c++ compiler where MSVS is Visual C++. Another popular one would be Borland C++. Thats all I would recommend venturing into because they are so well known but I'm sure you will get many more recommendations... Have Fun!!
hartmannr76 :
Thanks, But where I can find DEV C++ for Linux? I went to the Website and all I get is lastes Windows Releases and Sources Codes (that I don't know how to install them on Linux) and there are for Linux but really old Releases. I appreciate the help anyway :D
Duoas:
Thanks! I'm glad somebody around here uses Linux OS :)
Ok I will install that and I tell you if works.
Thanks!
Pleas Help a noob to learn by it self:)
PSPMAN90
Thanks
Please Help a noob to learn by it self :)
PSPMAN90
Visual C++ and Borland C are also Windows software.
You should have GCC (GNU Compiler Collection) installed (if not, it should be on your Ubuntu distribution disk or can be easily downloaded). gcc and g++ are the compilers you will need and are included in GCC
For an IDE try KDevelop, Glade GTK+ GUI or Eclipse. I am not sure what is distributed with Ubuntu since I use Fedora.
For a beginner your best option is to use a good text editor for writing the source code, and run it in the Terminal using gcc or g++ (depending on whether you are writing C or C++ code). Sometimes using a IDE can cause more problems than it solves - I have used a text editor for years and not bothered with an IDE.
You can use Aptitude to install KDevelop without any problems. It will require the KDE stuff to be installed on your computer, but that shouldn't affect your Gnome desktop. (The only real difference between Ubuntu and Kubuntu is what WM is installed by default. But there is no reason they can't both be installed.)
Hmm... re-reading your Q: you can install as many development environments as you like. They shouldn't interfere with each other. (If one does, get rid of it because it has no business dinking with your system.)
Good luck!
PS. My 2nd hard-drive just died, so I'm Linux-less for the moment. Within the next month I'll swap in another drive and reinstall my Kubuntu... but until then I'm not necessarily the best source of answers... I'll still try though :-)
Whichever one you feel comfortable with. Unless you are developing or testing KDevelop yourself, there's really no reason to get nightly snapshots --especially for minor version updates. Just get the official release.
I'll get it done soon. It is just a matter of pulling out the case and swapping in the new drive. My sister and her children are visiting and I've been playing with them a lot. :-)
Start a new 'console' project, type all the stuff into the text file it gives you, save it to a directory of your choice, and hit 'compile'. It has been a while since I've actually used KDevelop, so you may have to hunt around a little.