Инициализация типов

using namespace std;

//const + type name or auto for constants
//type name or auto for variables

//Int
int number = 42, otherNumber = 37;
const unsigned long maxInt64 = ULONG_MAX;
const int Mb(1048576); 

//Double
const auto exp = 2.71828;
double billion = 1E+9;

//Float
const float pi = 3.14;

//String
const std::string greeting = "Hello";

//Multiline String
std::string text = "this is some\n"
"multiline text";

//Bool
const bool sunIsStar = true;
auto needBackUp = false;

//Character "A"
char charA = 'A'//65, 0x41, '\x41'

cout << "number is " << number << "\n";
cout << "otherNumber is " << otherNumber << "\n";
cout << "maxInt64 is " << maxInt64 << "\n";
cout << "Mb is " << Mb << "\n";
cout << "exp is " << exp << "\n";
cout << "billion is " << billion << "\n";
cout << "pi is " << pi << "\n";
cout << "greeting is " << greeting << "\n";
cout << "text is '" << text << "'\n";
cout << "sunIsStar is " << sunIsStar << "\n";
cout << "needBackUp is " << needBackUp << "\n";
cout << "charA is " << charA;