For today's lecture we basically had a review day. We had to speed read through the first five chapters in our book for 30 minutes. Then, each of us had to write down five questions we had pertaining to any of the chapters on a piece of paper, then type them up in the discussion board on blackboard for the professor to answer. Dr. Agrawal then answered students' questions individually by putting examples of each of their five questions on the board to help further our knowledge on any of the specific topics. We were able to take notes on anything helpful to us that he put on the board. We spent most of the class doing so. What were your questions? Did this help you? Do you feel like you might need a tutor? What are your thoughts about what we learned today?
During the last 30 minutes of class, we continued chapter 5 and talked about stream manipulators. We then made changes to an example program made by Dr.Agrawal by using characters instead of numbers. We also used the "toupper" and "tolower" functions, which are only used with characters. One last thing we touched on before leaving class was the set precision manipulator or "setw", which is used to display outputs in a different way and only works with the next output in your program. Examples of these programs are now avaliable in blackboard if you need to take a look at them.
To find them go to:
- Disscussions
- C++ example problems
- Open "More Chapter-5 examples"
- Then open the .zip folder under the same name.