Mail Archives: djgpp/1992/08/27/01:03:22
//This is with djdev107 and djgcc222...
//Compile and run this. Type in 79 characters (or so, it's not critical)
//then press ENTER twice. Repeat the characters and ENTERs about 6 more
//times. On my machine, the disk light then flickers and the machine goes
//out to lunch. Fortunately my disk hasn't been zapped, even after running
//variations of this program dozens of times.
#include <iostream.h>
main()
{
char key;
while (1) {
cin >> key;
cout << key;
}
}
- Raw text -