C++-struct member in another struct |
Objectives
- struct members in another struct
- Dot operators can work in sequence and form a chain of
objects.
- recycle and reuse of main struct data type
|
Step: 1 Create a project
![](testst30.jpg)
![](testst31.jpg)
|
Step: 2 Create a source file
![](testst32.jpg)
![](testst33.jpg)
|
Step: 3 Edit Code ( code
teststructExtBlock.txt )
![](testst34.jpg)
|
Step: 3 Runtime views
adding new data using a base strcut as a mold or template
![](testst35.jpg)
|
|
|
|