Get Started! : Standard C++ (2024)

Home » Get Started!

Get Started!

1. Get a Compiler

There are good free C++ compilers available for all major OS platforms. Download one that suits your platform:

  • Gnu Compiler Collection: Includes g++, a popular C++ compiler. A build for Windows is available here, builds for other platforms are likely available via your platform's package manager, or you can build it yourself using instructions here.Get Started! : Standard C++ (1)
  • Clang: A new open-source C++ compiler for various platforms.Get Started! : Standard C++ (2)
  • IBM XL C/C++ Compiler: A Clang-based Community Edition is available for Linux on Power, free for production use.Get Started! : Standard C++ (5)

Or try one of these online compiler pages, which offer a range of compilers including the latest from Clang, GCC, Intel, and Microsoft. Some are compile-only to let you check whether your code is legal, and some let you also run your test programs to see their output.

2. Take a Tour

Stroustrup's authoritative "Tour of C++"is a great "lap around C++" by the creator himself, Bjarne Stroustrup. This four-part Tour is drawn from from near-final drafts of Stroustrup's upcoming The C++ Programming Language, 4th Edition, and was published on this site in four installments. (Free.)

3. Web Resources

  • C++ Reference:A site with its main focus on a complete Standard Template Library reference, the Technical Specifications, and a list of selected non-ANSI/ISO libraries. An offline archiveis available.
  • cplusplus.com:A site with general information about the C++ language, a reference, tutorial, and an articles section.

4. Learn More

Finally, here are four great books for learning C++ -- whether you know C++ already or not, and whether you even know how to program in any language or not, you'll find the book that's right for you.

Get Started! : Standard C++ (7)

Are you completely new to programming? If you've never programmed before, why not learn in modern C++?

Programming: Principles and Practice Using C++, 2nd Ed.is an introduction to programming written by the creator of C++, Bjarne Stroustrup. Thousands of college freshmen taking Stroustrup's hugely popular Introduction to Programming class at Texas A&M University, and innumerable readers around the world,have learned programming and launched their careers using this book -- and modern C++.

Get Started! : Standard C++ (8)

Are you looking for "the" one-stop overview of C++?

The new conciseA Tour of C++by Bjarne Stroustrup is thego-to book to answer "what is the book of what you should assume everyone knows about C++?"

Through a modern tour of the language and library, its contents answer the question: What is the basic knowledge that we should be able to assume from a competent C++ programmer?

One could subtitle it:"Around the C++ world in 180 pages."

Get Started! : Standard C++ (9)

Are you new to C++?

The bestselling C++ Primer is one of the most popular books ever for learning C++, written by close colleagues of Bjarne Stroustrup who participated in the development of C++ since its early days.

This authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code.

Get Started! : Standard C++ (10)

Looking for "the" authoritative C++ reference?

The all-time best-selling C++ book on the planet is Bjarne Stroustroup's The C++ Programming Language.This book is primarily a reference, not a tutorial, but it also contains extensive explanations and many valuable insights and guidelines from the creator of C++ himself.

Get Started! : Standard C++ (11)

Looking for the authoritative tutorial and reference for the C++ standard library?

The C++ Standard Library: A Tutorial and Reference by renowned ISO C++ member Nicolai Josuttis is the most respected book for learning and studying the standard library. It provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. You'll find it all here -- everything fromconcurrency and clocks, to the new hash-based containers and regular expressions, to high-quality guidance on how to use key language features like lambdas with it all.

Get Started! : 
            Standard C++ (2024)

FAQs

Can I start C++ as a beginner? ›

C++ is somewhat difficult to learn, especially if you have never programmed before or you have never used a low-level programming language before. If you are a beginner with no programming experience, you should expect it to take at least three months to learn the basics.

How to get started with C++ programming? ›

C++ Install IDE

Popular IDE's include Code::Blocks, Eclipse, and Visual Studio. These are all free, and they can be used to both edit and debug C++ code. Note: Web-based IDE's can work as well, but functionality is limited. We will use Code::Blocks in our tutorial, which we believe is a good place to start.

What is the first standard of C++? ›

In 1998, the ISO working group standardized C++ for the first time as ISO/IEC 14882:1998, which is informally known as C++98.

What should I make in C++ as a beginner? ›

Top 15 C++ Projects for Beginners
  1. Tic Tac Toe game.
  2. Login and Registration System.
  3. Bank Management System.
  4. Bookshop Management System.
  5. Currency Converter.
  6. ATM Machine System.
  7. Interest Calculator.
  8. Car Rental System.
Mar 27, 2024

Is C++ harder than Python? ›

Python's syntax is a lot closer to English and so it is easier to read and write, making it the simplest type of code to learn how to write and develop with. The readability of C++ code is weak in comparison and it is known as being a language that is a lot harder to get to grips with.

What is the salary of Python vs C++? ›

Salaries: C++

A C++ developer has an average salary of ₹7,68,406 per annum in India as compared to the average salary of a Python developer, which is ₹3,88,544 per annum.

What is the most widely used C++ standard? ›

We can definitely see the latest C++ standards growing in popularity. C++17 is the most widely used and C++20 is growing fast, while everything pre-C++14 has dropped since 2021.

Is C++ still used? ›

Both C and C++ are widely used in system programming, including operating systems, embedded systems, and hardware-level programming. Knowledge of these languages is essential for working on low-level aspects of software development.

Is C++ a low-level language? ›

C++ can perform both low-level and high-level programming, and that's why it is essentially considered a mid-level language.

Can I teach myself C++? ›

Yes, you can teach yourself C++, especially if you're already familiar with coding.

How should I practice C++ for beginners? ›

C++ Basic Exercises
  1. Write a program in C++ to find Size of fundamental data types. ...
  2. Write a program in C++ to print the sum of two numbers using variables. ...
  3. Write a program in C++ to check the upper and lower limits of integer. ...
  4. Write a program in C++ to check whether the primitive values crossing the limits or not.

Is C++ alone enough to get a job? ›

C++ is one of the most popular language, so it shouldn't be a big problem finding a job. If you have enough free time I think it is a good idea to start studying another language, like Java or Python. Try to search for your ideal job on internet, to see what employers/companies are looking for.

Is it a good idea to learn C++ first? ›

If you get a good grasp of a general-purpose language like C++, you'll be able to pick up other, more verbose languages like Java, far more easily. Your foundation in C++ syntax will pay off, because C++ helps to understand the logic structure of all programming.

Should I learn Java or C++ as a beginner? ›

Most experts will tell you that Java is easier to learn. It's a newer language than C++ and isn't as complex in its principles or execution. However, there's more to consider than a language's learning curve. Selecting a programming language comes down to what you want to do with it.

Can I start C++ without learning C? ›

100% it is possible. I learned C++ and only really needed to get into C because of IoT devices with very small memory.

Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6172

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.