// file: $(ECE_1111)/labs/01/l01_03/myprog.cc // // revision history: // 20180724 (JP): initial version // // usage: // myprog.exe // // compilation: // g++ -o myprog.exe myprog.cc myfuncts_00.cc myfuncts_01.cc // // expected output: // nedc_000_[1]: myprog.exe // program name: myprog.exe // sum of 27 and 27.272699 is 54.272697 // // This is a simple C program where the code exists in multiple files. // This version was designed to demonstrate how to browse files in the // the Amazon AWS IDE. // // 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) { // declare a variable for status // int status = (int)0; void joe; // call the first function // short int value_joe = 1; fprintf(stdout, "value = %d\n", set_value(value_joe)); // exit gracefully // return(status); }