// file: $(ECE_1111)/resources/examples/eunms/myprog.cc // // revision history: // 20191114 (JP): initial version // // local include files // #include "myprog.h" // main: myprog // // This is a driver program that does some very simple things. // int main(int argc, const char** argv) { int x = 27; int y(35); int z{99}; fprintf(stdout, "x = %d\n", x); fprintf(stdout, "y = %d\n", y); fprintf(stdout, "z = %d\n", z); // declare a variable // STATUS mystatus = FALSE; FRUIT myfruit; mystatus = TRUE; myfruit = BANANA; // exit gracefully // return(0); }