// Lab Problem 5A - file "lab5a.cpp" // SE307 CCT // T Naughton, CS NUIM, tomn@cs.may.ie // Last updated 1 November 2000 #include #include #include "machine5a.h" void main(void) { string fname("lab4input1.txt"); // input filename MachineFiveA 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; } }