
//
// This is example code from Chapter 3.2 "Variables" of
// "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup
//

#include "std_lib_facilities.h"

//------------------------------------------------------------------------------

int main()
{
    int number_of_steps = 39;            // int for integers
    //int number_of_steps = "Annemarie"; // error: "Annemarie" is not an int
    double flying_time = 3.5;            // double for floating-point numbers
    char decimal_point = '.';            // char for individual characters
    string name = "Annemarie";           // string for character strings
    //string name2 = 39;                 // error: 39 isn't a string
    bool tap_on = true;                  // bool for logical variables
}

//------------------------------------------------------------------------------
