Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
A data member, or member variable, is a variable internal to a class.
The class shown below has a single data member called 'm_x', which is of type int:
struct MyClass |
Use a consistent method (such as a d_ prefix) to highlight class data members [1].
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.