notes:cprog:spring2024:projects:cppx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:cprog:spring2024:projects:cppx [2024/04/24 12:22] – [Access Control] amelvil2 | notes:cprog:spring2024:projects:cppx [2024/04/24 12:23] (current) – [Classes] amelvil2 | ||
---|---|---|---|
Line 29: | Line 29: | ||
* The public members form an interface to the class and are accessible outside the class. | * The public members form an interface to the class and are accessible outside the class. | ||
+ | For example: | ||
+ | |||
+ | < | ||
+ | // Define the class | ||
+ | class MyClass { | ||
+ | // Class members go here | ||
+ | }; | ||
+ | </ | ||
====Member Functions==== | ====Member Functions==== | ||
notes/cprog/spring2024/projects/cppx.txt · Last modified: 2024/04/24 12:23 by amelvil2