Our goals for this day are twofold. First, we wish to introduce students to the use of our department computer systems, which may be used for completing assignments throughout the semester. Secondly, we wish to present another example of a C++ class, which serves as the base for the first programming assignment.
Details about the use of computing resources at SLU are included among the general programming web page for this course.
Chapter 1.6 of the text introduces another example of a C++ class, representing the concept of a credit card. We used the code from the text as a sample of a complete C++ program and considered the steps necessary to copy the files into a student's home directory, to compile the code, and to execute the resulting program. For simplicity, our compilation was based on the use of a 'makefile' provided by the instructor. When a student types the command make at the command prompt in the project directory, the makefile is used to define the necessary steps and options in invoking the g++ compiler for this particular project.