Tuesday, February 14, 2012

Class Lecture 2/14/12

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.

3 comments:

  1. Today was helpful to me. It was a refresher of everything we have learned up to this point. The stream manipulator discussion helped a lot too because I didn't know that we had to use to use the setprecision command. Today helped me finish up my last assignment.

    ReplyDelete
  2. @WilliamHarding9 It helped me too. He didn't get to answer any of the questions I had, but some of the people in our class had the same questions as me and I took notes on them. So it was kind of like a win win for everybody.

    ReplyDelete
  3. I really enjoyed the way Dr. Agrawal did class this day. I feel as if it helped everyone a little better. I hope he continues to do class in this way.

    ReplyDelete