C++

en.wikipedia.org/wiki/c%2b%2b

High-performance extension of C for games, browsers, databases, and native applications.

Overview

C++ is a high-level, general-purpose programming language created by Bjarne Stroustrup and first released in 1985 as an extension of the C programming language. It adds object-oriented features, functional programming capabilities, and facilities for low-level memory manipulation, making it suitable for systems programming, embedded systems, and resource-constrained applications.

The language is standardized by the International Organization for Standardization (ISO), with the latest standard version published in October 2024 as ISO/IEC 14882:2024 (C++23). C++ is implemented as a compiled language with multiple vendor implementations including GCC, LLVM Clang, Microsoft Visual C++, and others. It has been widely adopted for desktop applications, video games, servers, databases, and performance-critical systems like telephone switches and space probes.

Key features

  • Object-oriented programming
  • Generic programming via templates
  • Low-level memory manipulation
  • Compiled language
  • Multi-paradigm support
  • Standard library
  • Functional programming features
  • Strong static typing
Pros
  • High performance and efficiency
  • Flexible and powerful language design
  • Extensive standard library
  • Wide vendor support and multiple compilers
  • Suitable for both high-level and low-level programming
  • Large ecosystem and community
Cons
  • Steep learning curve for beginners
  • Manual memory management can introduce security risks like buffer overflow
  • Complex syntax and feature set
  • Longer compilation times compared to some alternatives
Use this if
You need a high-performance compiled language for systems programming, embedded systems, game development, or performance-critical applications where efficiency and low-level control are essential.
Skip this if
You are a beginner programmer looking for an easy-to-learn language, or you need rapid development with minimal memory management concerns. Consider Python or JavaScript for simpler use cases.

Best for

Systems programmingEmbedded systemsPerformance-critical applicationsVideo gamesServer applicationsDesktop applicationsResource-constrained software

Alternatives

CRustJavaC#Python

Compare C++ alternatives

More Language

Compare all
View Zig
Zig

Low-level language aiming to be a modern, simpler alternative to C for systems code.

View Go
Go

Google's compiled language for simple, fast systems programming and cloud-native services.

View JavaScript
JavaScript

The web's core programming language for interactive pages, apps, and full-stack development.

View HTML5
HTML5

Standard markup language for structuring web pages, media, and semantic content.