I want to learn C++ ...

From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.

Announcements Posted on
TSR launches Learn Together! - Our new subscription to help improve your learning 16-05-2013
Sign in to Reply
  1. TheGrinningSkull's Avatar
    • Overlord in Training
    • Posts: 2,072
    I want to learn C++ ...
    But what do I download? XD


    There's Visual C++, Borlander C++

    Is C++ even free? XD

    I'm really not sure where I should be looking so advice from your experiences would be greatly appreciated.

    Thank you
  2. hdr95's Avatar
    • Full Member
    • Posts: 127
    Re: I want to learn C++ ...
    Whilst I cannot use c++, I do know that C++ is free, as it is a programming language, and therefore asking if it is free is like asking whether the Chinese language is free.

    Have a look online for tutorials, or there are plenty of books on amazon
  3. Y__'s Avatar
    • Overlord in Training
    Re: I want to learn C++ ...
    You need to download a C++ compiler.
    The only free ones I know of are gcc, CLang/LLVM and Microsoft Visual C++ 2010 Express. The last one is probably your easiest way to get started if you are running Windows.

    However: Why do you want to learn C++ in particular?
  4. HazzaBui's Avatar
    • Junior Member
    • Posts: 24
    Re: I want to learn C++ ...
    You might be better starting off with an easier language to learn, such as C# or Java, and learn the basics behind programming techniques and methodologies.
    That would be my suggestion anyway - finding a beginners guide to Object Oriented programming in, say, Java.

    Anyway, good luck!
  5. BigLampshade's Avatar
    • New Member
    • Posts: 18
    Re: I want to learn C++ ...
    I have worked with C#/C++ for the past three years. And even I still rely on Google to tell me how to do things.

    I would recommend starting with something a tad easier, like C#. The two are "similar", in that some things carry over and the context of most things is similar. But I guess comparing the two is like comparing an orange to an apple. The two are both fruit but taste completely different.
  6. Chrosson's Avatar
    • PS Helper
    • Vengeful, Imperial Overlord of The Student Room
    • Posts: 4,183
    Re: I want to learn C++ ...
    (Original post by TheGrinningSkull)
    But what do I download? XD


    There's Visual C++, Borlander C++

    Is C++ even free? XD

    I'm really not sure where I should be looking so advice from your experiences would be greatly appreciated.

    Thank you
    I think the important question is 'Why?'
    Any reason you want C++ in particular? Or do you just want to learn programming in general? What is your previous experience with computers like?
  7. maturestudy's Avatar
    • Peer Of The TSR Realm
    • Location: Festive Road
    • Posts: 1,707
    Re: I want to learn C++ ...
    There are two things that one needs in order to begin development in C/C++. The first is a text editor, which is used to write and edit the source code. The other is a compiler, which translates C/C++ code into an executable computer program. However, most developers use an integrated development environment which encapsulates the process of editing, compiling, building and debugging programs.

    Suitable for beginners

    Quincy 2005 is a rather old but stable C/C++ IDE. It is based around the mingw gcc compiler and is still used by some universities today to teach programming.

    Code::Blocks is a more feature-complete mingw based IDE.

    Microsoft Visual C++ Express is a free version of Microsoft's commercial compiler and IDE. However, it only implements the original (outdated) version of C, not the new C99 standard, and for that reason it is not recommended.

    XCode is Apple's IDE for Macs, iPhones and iPads. It utilises their own CLang/LVLM compiler.

    More advanced options


    Netbeans fully featured IDE with support for multiple languages and operating systems. It is, however, quick tricky to configure for C/C++ on Windows.

    Eclipse is an industry standard development environment.

    Recommendations

    These are my subjective recommendations:

    Coding on Windows
    Quincy is a good starting point for learning the basics and once you have outgrown it there is a fairly straightforward path to Code::Blocks.

    Coding on Mac
    XCode should be the default starting point. It offers a great native user interface with a good compiler and all the tools you will need.

    Netbeans and Eclipse both offer more features and plugins than the above but can be more complicated to set-up and overwhelming for newcomers.
    Last edited by maturestudy; 02-04-2012 at 12:20.
  8. TheGrinningSkull's Avatar
    • Overlord in Training
    • Posts: 2,072
    Re: I want to learn C++ ...
    (Original post by Y__)
    You need to download a C++ compiler.
    The only free ones I know of are gcc, CLang/LLVM and Microsoft Visual C++ 2010 Express. The last one is probably your easiest way to get started if you are running Windows.

    However: Why do you want to learn C++ in particular?
    (Original post by HazzaBui)
    You might be better starting off with an easier language to learn, such as C# or Java, and learn the basics behind programming techniques and methodologies.
    That would be my suggestion anyway - finding a beginners guide to Object Oriented programming in, say, Java.

    Anyway, good luck!
    (Original post by Chrosson)
    I think the important question is 'Why?'
    Any reason you want C++ in particular? Or do you just want to learn programming in general? What is your previous experience with computers like?
    Thanks, I have experience with BBC Basic, using that for A level coursework and I thought I may as well move on to other things that may have more applications. I'm starting an engineering course come September and I thought learning C++ might be useful, even then, just for fun because it is object orientated
    Last edited by TheGrinningSkull; 02-04-2012 at 17:19.
  9. TheGrinningSkull's Avatar
    • Overlord in Training
    • Posts: 2,072
    Re: I want to learn C++ ...
    (Original post by BigLampshade)
    I have worked with C#/C++ for the past three years. And even I still rely on Google to tell me how to do things.

    I would recommend starting with something a tad easier, like C#. The two are "similar", in that some things carry over and the context of most things is similar. But I guess comparing the two is like comparing an orange to an apple. The two are both fruit but taste completely different.
    (Original post by maturestudy)
    There are two things that one needs in order to begin development in C/C++. The first is a text editor, which is used to write and edit the source code. The other is a compiler, which translates C/C++ code into an executable computer program. However, most developers use an integrated development environment which encapsulates the process of editing, compiling, building and debugging programs.

    Suitable for beginners

    Quincy 2005 is a rather old but stable C/C++ IDE. It is based around the mingw gcc compiler and is still used by some universities today to teach programming.

    Code::Blocks is a more feature-complete mingw based IDE.

    Microsoft Visual C++ Express is a free version of Microsoft's commercial compiler and IDE. However, it only implements the original (outdated) version of C, not the new C99 standard, and for that reason it is not recommended.

    XCode is Apple's IDE for Macs, iPhones and iPads. It utilises their own CLang/LVLM compiler.

    More advanced options


    Netbeans fully featured IDE with support for multiple languages and operating systems. It is, however, quick tricky to configure for C/C++ on Windows.

    Eclipse is an industry standard development environment.

    Recommendations

    These are my subjective recommendations:

    Coding on Windows
    Quincy is a good starting point for learning the basics and once you have outgrown it there is a fairly straightforward path to Code::Blocks.

    Coding on Mac
    XCode should be the default starting point. It offers a great native user interface with a good compiler and all the tools you will need.

    Netbeans and Eclipse both offer more features and plugins than the above but can be more complicated to set-up and overwhelming for newcomers.
    Thank you both very much for the advice and detailed answer. I'll go with your recommendation and start off with code::blocks and see where I go from there, thanks
  10. Arturo Bandini's Avatar
    • TSR Demigod
    • Location: London
    Re: I want to learn C++ ...
    Download an IDE. I'd recommend Eclipse
  11. beepbeeprichie's Avatar
    • Vengeful, Imperial Overlord of The Student Room
    • Posts: 3,836
    Re: I want to learn C++ ...
    Code::Blocks is amazing.
  12. chedder789's Avatar
    • Full Member
    • Posts: 101
    Re: I want to learn C++ ...
    I'd recommend the book Accelerated C++ if you have already had some experience with programming
  13. stifa's Avatar
    • Exalted and Worshipped Member
    • Location: Norway
    • Posts: 1,054
    Re: I want to learn C++ ...
    And when you find a good compiler, you should grind through the basic tutorials at cplusplus.com
Sign in to Reply
Share this discussion:  
Useful resources
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.