adding underscore

This commit is contained in:
Jidong Xiao
2023-12-01 01:26:51 -05:00
parent 38587de9ab
commit 400acaae68

View File

@@ -246,7 +246,7 @@ Triangle *t_ptr = new Triangle( .... );
polygons.push_back(t_ptr);
```
Note: Weve used the same pointer variable (p ptr) to point to objects of two different types
Note: Weve used the same pointer variable (p_ptr) to point to objects of two different types.
## 26.13 Accessing Objects Through a Polymorphic List of Pointers