adding line breakers
This commit is contained in:
@@ -132,10 +132,10 @@ assert (*itr == 100); // might seem ok... but rewrite the code to avoid this!
|
|||||||
|
|
||||||
## 10.4 Objects with Pointers, Linking Objects Together
|
## 10.4 Objects with Pointers, Linking Objects Together
|
||||||
|
|
||||||
The two fundamental mechanisms of linked lists are:
|
- The two fundamental mechanisms of linked lists are:
|
||||||
– creating objects with pointers as one of the member variables, and
|
– creating objects with pointers as one of the member variables, and
|
||||||
– making these pointers point to other objects of the same type.
|
– making these pointers point to other objects of the same type.
|
||||||
These mechanisms are illustrated in the following program:
|
- These mechanisms are illustrated in the following program:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|||||||
Reference in New Issue
Block a user