transition C# to C++
The overall structure of a console C++ program is slightly different from C#. The biggest difference is in I/O while variables, types, loops, branches, conditions are nearly identical. Minor differences: include files, functions & prototypes, random numbers, file I/O, arrays and pointers.

.. structure: different / I/O: different / variables, types: same

.. more variables, input and output

.. for loops, random

.. while and do/while loops

.. if/else/else if and switch , && || C++ ch 6 code examples 1-6

.. reading strings with spaces: getline C++ ch 6 code examples 15

.. get, getline, files, break, continue C++ ch 6 code examples 12-16