Pointers and Objects
10/09/98
14
B.Ramamurthy
Example:
Counter statNode;
Counter* dynNode;
dynNode = new node();
cout << statNode.Value << dynNode-->Value << endl;
statNode.compute();
dynNode-->compute();
Previous slide
Next slide
Back to first slide
View graphic version