Good afternoon all. New to C++, and have what probably is an elementary question. I am using Dev-C++ for the first time. I created a project, a source file, compiled it, and exectued it. My program's intent is to diplay a sentence. Is there another way besides using "Scaffolding" to prevent my dos prompt from disappearing as fast as it appears? The following is the code used for "Scaffolding" and keeping the dos prompt from disappearaing:
/* Scaffolding code for testing purposes */
cin.ignore(256, '\n');
cout << "Press ENTER to continue..." << endl;
cin.get();
/* End Scaffolding */