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

Step: 2 Create a source file

Step: 3 Edit Code  ( code teststructExtBlock.txt

Step: 3 Runtime views

adding new data using a base strcut as a mold or template