Chapter 11: Dissecting Classes

 < Day Day Up > 



Learning Objectives

  • State the purpose and use of the class construct in C++

  • List and describe the parts of a class declaration

  • State the importance of the terminating semicolon of a class declaration

  • Explain how to use access specifiers to control horizontal member access

  • State the function and purpose of constructors

  • State the purpose and use of overloaded constructors

  • Explain how to overload constructors

  • Explain how to use the initializer list to initialize class attributes

  • State the purpose and use of destructors

  • Explain how to overload class member functions

  • Explain the importance of separating the class interface from its implementation

  • Explain how to call class member functions from within class member functions

  • Utilize complex class constructs in your C++ programming projects

  • Utilize initializer lists to initialize class attributes

  • List and define the following terms: constructor, destructor, default constructor, overloaded constructor, and overloaded functions



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net