Miscellany
public text v1 · immutable
#pragma hdrstop
#include <condefs.h>
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char **argv)
{
bool endprogram=false;
char command[256];
while(!endprogram) {
cout << "Command: ";
cin >> command;
if (command=='exit') {
endprogram=true;
}
}
cout << "\nPress any key to continue...";
getch();
return 0;
}