HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to C++VariablesData TypesOperatorsStringsVectors (vector)Conditions (if / switch)Loops (for / while)FunctionsClasses (OOP)
REFERENCE
📖 Overview
🖥️ Output & Input
📦 Variables
🔢 Numbers & Math
✍️ String
📋 Array & Vector
🔁 Condition & Loop
🧩 Function & Class
C++›REFERENCE

C++ — Command Reference

C++'s most used commands — power, performance, and object orientation. Each example is a complete program, complete with explanations and working examples.

7 categories · 17 commands

🖥️

Output & Input

Printing with cout, reading with cin.

cout <<cin >>
2 commands →
📦

Variables

Typed variables, const, and auto.

Typed variableauto (type deduction)const
3 commands →
🔢

Numbers & Math

Arithmetic and cmath.

Arithmetic ( + - * / % )cmath (sqrt / pow)
2 commands →
✍️

String

std::string methods.

string + .length()substr() / find()
2 commands →
📋

Array & Vector

Fixed arrays and flexible vectors.

Arrayvector
2 commands →
🔁

Condition & Loop

Decision making and repetition.

if / elseforRange-based for ( : )while
4 commands →
🧩

Function & Class

Functions and classes (OOP).

Functionclass
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code