Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs-142:checking-cin-fail [2016/09/14 15:02]
kseppi
cs-142:checking-cin-fail [2016/09/15 00:43] (current)
kseppi
Line 53: Line 53:
  cout << endl;  cout << endl;
  cout << "So code to check for and recover from errors looks like:" << endl;  cout << "So code to check for and recover from errors looks like:" << endl;
- cout << "​Number please: (be nice or cause an error, I can deal with it!) " ​<< endl;+ cout << "​Number please: (be nice or cause an error, I can deal with it!) ";
  cin >> number;  cin >> number;
  cout << endl;  cout << endl;
cs-142/checking-cin-fail.txt ยท Last modified: 2016/09/15 00:43 by kseppi
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0