Here are some examples of the simplest form of assignment:
// declare a few variables for the examples
long a,b,c;
double x,y;
// now some assignment statements
a = 1;
b = 6;
c = -12345;
x = 12.34;
y = 34.5E2; // means 34.5 * 10 to power 2
etc
'=' should be read as 'becomes', NOT 'equals'.
In C++, the right-hand-side of the = is evaluated first, resulting in a single number. This is then assigned to (stored in) the