data // Data is any sequence of symbols (numbers, letters, etc...) that can be interpreted to mean something. //
Example
x,b,$,mike
value // A value is a single piece of data stored in memory //
Example
a number
a letter
text
variable // A variable is a named region of memory
Example
int mike (mike is variable)
identifier // An identifier is the name that a variable is accessed by. Inside the bracelet is Identifier //
Example
int mike (identifier is the name of variable such as mike)
type // A type tells the program how to interpret a value in memory. //
Example
intdoublefloat
integer // An integer is a number that can be written without a fractional component. //
Example
int x = 4 // is integer number
int b = 4.3 // is not integer number
One of tutorial said I should use direct initialization. But the thing is
1 2 3 4 5 6 7 8 9 10 11 12
#include <iostream>
int main ()
{
int width;
width(10);
width(7);
std::cout << width;
return 0;
}