// Lab Problem 4A - file "lab4a.cpp" // SE307 CCT // T Naughton, CS NUIM, tomn@cs.may.ie // Last updated 1 November 2000 #include #include #include "machine4a.h" void main(void) { string fname("lab4input1.txt"); // input filename MachineFourA mymachine(fname); /* create a machine and pass ** the name of a file ** containing the input machine ** to it. */ // analyse the input machine if (mymachine.Analyse()) { cout << "\nT" << endl; } else { cout << "\nF" << endl; } }