[ad_1]
Try this.
ClassA example;
example.a =.01;
You were using pointers in your code, and it looks like you need practice with other ideas before starting with pointers.
11
[ad_2]
solved C++ Object Variables
[ad_1]
Try this.
ClassA example;
example.a =.01;
You were using pointers in your code, and it looks like you need practice with other ideas before starting with pointers.
11
[ad_2]
solved C++ Object Variables