In the attic today, I found a wonderful and informative book on C++. "C++ Simplified" by Adam Shaw.
Below is some example source code from the book (exactly how it is formatted):
looks like something straight out of one of Unregistered's posts.Code:#include <iostream.h> //To illustrate how goto statement operates with if...else statement void main ( void ) { int account; again: cout << " Enter account number: "; cin >> account; if ( account >= 1000 ) { cout << " Wrong number. Try again!" << endl; goto again; } else cout << " The number you have entered is: " << account << endl; goto again; }