/* Copyright 1997 David Coppit. Permission to use and modify this code for research purposes is granted to provided that this copyright statement retained in all derivative software. */ void externalCode() { //output some stuff cout << "test" << endl << "one" << endl; cout << "two" << endl; // wait for input char w[256]; cin >> w; // Pop up an error box. cerr << "Oh no!\n"; }