how to reference instance of class in class c++ code example
Example: c++ public class declaration
class class_name {
access_specifier_1:
member1;
access_specifier_2:
member2;
...
} object_names;
class class_name {
access_specifier_1:
member1;
access_specifier_2:
member2;
...
} object_names;