Introduction Pluses on one book, and there the author does not insert
cin.get () anywhere. And I have to, because the command line disappears. Is this related to the C++ version or using the command line?
Answer 1, Authority 100%
everything is fine and should be. The command line after the program is complete must disappear. This can be avoided as inserting
cin.get () and IDE tools. For example, if you work in Visual Studio, then run programs via
Ctrl + F5 , so the window will not disappear immediately after the program is completed.
as another option, can be added at the end of the main function RETURN 0;.