CIS 250 - Introduction to classes and structs

Objectives

structs and classes

These topics are covered well in the text and structs should be familiar to you from previous C/C++ programming. If you are familiar with classes, but not structs, then all you have to know is that classes and structs are the same thing, except that the members of a class are private by default, while the members of a struct are public by default. Structs are generally used only when only data is contained. The topics listed below are just a brief outline of what will be discussed in class.