I was working on a school project to make a blackjack/21 console application. The program is somewhat long and complicated, so will only put the offending code here. Complete code will be below.
cout << "Before comp instruct";
cout << endl << "Computer: ";
cout << "After comp instruct";
It will always print the first statement, but it sometimes stops immediately after that. It happens only sometimes, depending on the input in the program. I (and my teacher and peers) could not figure out why this program stops after the first statement. At least one other person in the class is having a similar problem.
These were done using CodeWarrior IDE on a Windows 7 Dell desktop.