C++

Programming in C++ language

The most important commands from C++ programming language in one place, a unique comparison and each command-operator is shown using a piece of program. Statements-operators of these sample programs are clickable, so with a simple click we have more information available.

Programming language C++:


Examples - C++

C++
a1 = false || false; // a1 = false
a2 = false || true;  // a2 = true
a3 = true  || false; // a3 = true
a4 = true  || true;  // a4 = true
C++
x = 95 + 5;     // x=100
y = 100 + x;    // y=200
z = (x+y+30)+3; // z=333

Other pieces of example codes:
C++
(2.5 / 2 + 1.25) + 2
x = 16 << 2
if (i - 10 >0) i = i-5;
/*
fdjksjf
sdjgksdgjk
*/
i = x * 5;
if ( y < 100 )  
   x++;
Languages: en hu cz sk