C++

Join the C++ Track
C++ is a general-purpose programming language that supports procedural, object-oriented, generic and functional programming styles. C++ is deployed on billions of devices from the smallest embedded microprocessor to the largest supercomputer.
Join the C++ Track
Track mentors

22 Mentors

Our mentors are friendly, experienced C++ developers who will help teach you new techniques and tricks.
Track students

13,369 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

55 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About C++

#include "hello_world.h"

namespace hello_world {

std::string hello()
{
    return "Hello, World!";
}

}

C++ (pronounced cee plus plus) is a general purpose programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. It is immensely popular, particularly for applications that require speed and/or access to some low-level features. It is considered to be an intermediate level language, as it encapsulates both high and low level language features.

C++ supports procedural, object-oriented, functional and generic programming. Compilers for C++ are available for essentially every platform, including Windows, Mac OS, and Linux.

Key Benefits:

  • Type safety: Encapsulate necessary unsafe operations
  • Resource safety: Not all resource management is managing memory
  • Performance: For some parts of almost all systems, it's important
  • Predictability: For hard and soft real-time systems
  • Teachability: Complexity of code should be proportional to the complexity of the task
  • Readability: People and machines ("analyzability")
  • Direct map to hardware: of instructions and fundamental data types
  • Zero-overhead abstraction: Classes with constructors and destructors, inheritance, generic programming, functional programming techniques

The standard for C++ is maintained by the International Organization for Standardization (ISO), and the current version of C++ as of June 2018 is C++17 (named not as the 17th version of C++, but rather signifying that the standard was ratified in 2017).

The best thing about C++ is that it runs on everything from embedded processors with very limited resources to the largest mainframe supercomputer and every personal computer in between.

Join the C++ track

Exercism is a great website

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

Relaxed. Encouraging. Supportive.

Meet the C++ Track mentors

Once you join the C++ language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Zach Banducci

Zach Banducci

I have been using C++ for the past 2 years and I am a data structures teaching assistant. I have experience in program architecture and object oriented programming and I am here to help you in your ventures in becoming computer scientists!
Avatar of Naris Rangsiyawaranon

Naris Rangsiyawaranon https://github.com/KittenHero

I don't always use C++, but when I do, I love seeing the template errors.
Avatar of Eyong Kevin Enowanyo

Eyong Kevin Enowanyo Writing is my passion

Hi, I'm Eyong Kevin Enowanyo, a holder of a bachelor degree in software engineering and currently a lead developer. I am passionate and love building software in the domain of Machine learning, AI and Natural Language Processing. My main programming languages are Python, C++, and Java but I am always open to new technologies and experiences.
Avatar of Alex Guglielmone Nemi (Alex Hans)

Alex Guglielmone Nemi (Alex Hans) The Living Deadline - Alex Hans Blog

With 10+ years in software/product development, I love to be in a constant learning state and to help others in their journeys. Mentoring on a site that focuses on encouraging critical skills and idiomatic code is an extremely enriching experience.
Avatar of Shankar Shastri

Shankar Shastri GitHub Profile

Lover Of Pure Functional Programming.
Avatar of Cory Lamontagne

Cory Lamontagne https://github.com/corylamontagne

Professional C++ dev who loves learning and mentoring, currently pursuing a masters in Data Analytics. Also, a student here on the Rust and R tracks (at least).
Fun. Challenging. Interesting

Community-sourced C++ exercises

These are a few of the 55 exercises on the C++ track. You can see all the exercises here.

Hello World
easy
strings
Say
hard
logic
strings
text formatting
Acronym
easy
regular expressions
strings
Isogram
easy
control flow if else statements
control flow loops
strings
Word Count
medium
arrays
maps
parsing
strings
Roman Numerals
medium
strings

Get started with the C++ track. As with everything on Exercism, it's 100% free!

Join the C++ Track