An illustration shows a code segment:

“inStream.open("stuff.dat");
if (inStream.fail( ))
{
cout << "Input file opening failed.\n";
exit(1);
}" with “exit(1);” annotated as "Ends the program."