User Tools

Site Tools


notes:cprog:spring2024:projects:cppx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
notes:cprog:spring2024:projects:cppx [2024/04/24 12:22] – [Access Control] amelvil2notes: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:
 +
 +<code>
 +// Define the class
 +class MyClass {
 +    // Class members go here
 +};
 +</code>
 ====Member Functions==== ====Member Functions====
  
notes/cprog/spring2024/projects/cppx.txt · Last modified: 2024/04/24 12:23 by amelvil2