Software Design (Lecture 14)

  • Read King Chapter 14 and Chapter 17
  • Read K&R Chapter 6 (Sections 6.3 to 6.8) Structures.

  • Press here for other lecture topics

  • Press here for slides #14 (postscript)
  • Press here for slides #14 (netscape)
  • Press here for Unix memory model slides (netscape)
  • For source code of function pointer examples function pointer example

    The next quiz, will be based on material from all labs through Lab 6 and all lectures through week 8. This is basically the whole of King, or K&R Chapters 1-8. We have switched to C++, but the quiz will cover only basic material there. For assignment #2 you may wish to use the g++ compiler (while programming in C) so that you get some exposure to the more stringent requirements of that system.

  • Press here for Module Design Topic
  • Press here for Command Parsing Topic

    This week in the labs you will gain important practice and experience with pointers. This knowledge is essential for Assignment 2. Don't miss it. There is far more to know for the assignment, but important basics which will help you debug your Assignment 2 program will be learned here.