Skip to main content

Welcome to C++

C++ is a powerful, general-purpose language that gives you low-level control over memory while still supporting high-level abstractions. It powers game engines, operating systems, embedded systems, and high-performance applications.

What You'll Learn​

LessonTopics
Lesson 1Variables, data types, printing, and user input
Lesson 2If/else conditionals, for/while loops
Lesson 3Functions, parameters, return types

C++ vs Other Languages​

FeatureC++PythonJava
SpeedVery fast (compiled)Slower (interpreted)Fast (JVM)
Memory controlManual (new/delete)AutomaticAutomatic (GC)
SyntaxMore verboseVery conciseVerbose
Use casesGames, OS, embeddedData science, scriptingEnterprise, Android

Setting Up​

You can run C++ online at:

  • Replit β€” create a new C++ project
  • OnlineGDB β€” quick online compiler
note

Every C++ program starts with #include <iostream> and has a main() function β€” that is where execution begins.