You are to complete Lab 8, the programming assignment on page 11 of the course syllabus. You will need to use several of the functions of the string class in order to complete this assignment. I am inserting notes for the functions required in the bullet list of requirements below.
As of dinner time last night, connectivity was restored to campus. The IT staff continues to monitor the situation any signs of instability or trouble and Brookdale email seems to be working just fine now.
Please be sure to email me your second exam source code files. I will be making my comments back to you in return emails.
I strongly suggest that each student develop a C++ solution to the this second set of practice problems in preparation for the coding portion of the second exam. While I do not promise that the practical part of the exam will be *exactly* the same as any one of these problems, the actual test question will at least be very similar to one or more of these practice problems.
Note:
Keep an eye on this post as additional problems are highly likely!
I strongly suggest that each student develop a C++ solution to the following problems in preparation for the coding portion of the first exam. While I do not promise that the practical part of the exam will be *exactly* the same as any one of these problems, the actual test question will at least be very similar to one or more of these practice problems.
Your second exam, on chapters 5 through 7 of the textbook, is scheduled for next Tuesday, November 22nd. Keep an eye on the blog this week for test preparation suggestions. Programming problems on exams are often very similar to the end of chapter exercises.
For lab 12, you need to request a date from the user, in the format "mm-dd-yyyy". This is a string but you will need to parse it into its component integers. This is how you go about doing that.
Usually you don't want to hard-code filenames into your projects: you want to let the user decide what the filenames should be. Here is an easy way to do just that.
As one of the requirements to earn a B- or higher, you must complete exercise 5 on p 409, a program to calculate which day of the year the user entered. At the very minimum, you will need to write two functions. These are their headers:
bool isLeapYear(int y) int countDays(int m, int d, bool leap)
You are to complete exercise 9, pp 409-410, writing a program which contains three user-defined functions: generateOutputFile, calculateAverage, and calculateGrade. Please note that I have changed the requirements from the exercise in the book slightly, in order to have a more intuitive solution. These are the headers:
Priority registration is underway! In order to give yourself the best chance of getting all of the classes you need as well as the days and class meeting times you prefer, you should register early.