C++ Definitions (Lecture 19)

  • Switch all work to g++ compiler. Alter makefile for Assignments 1, and 2 remove *.o files and recompile. If you have been coding in our "style" your programs should compile without warnings or errors.

    Note that the following keywords are required by C++ but not by the C compiler:

    asm 	catch   class   delete
    friend  inline  new 	operator
    private protected   	public  template
    try 	this    virtual throw
  • Read King Chapter 19, and about assert, Page 539.

  • Press here for previous lecture #18 (C++ definitions)

  • Press here for slides #19 (Overloading, Derivations, Virtual Functions and Templates--definition--Netscape)
  • Press here for Stack handling code samples

  • Press here for Command Parsing Code
  • Press here for C/Unix memory allocation.