Finishing Structs
This is 10.5 Hierarchical records.
We need to build our student type from last time.
This is based on the design from last class.
Look at rank.h, rank.C
nothing big there.
Notice I built a rankTest.C as well
Next person.h and person.C
notice that using the utility functions with the lower elements makes life much easier.
But I could do something like
PersonT me me.name.first = "dan"; me.name.first[0] = toupper(me.name.first[0]);
I also made a personTest.C
This is more a demo of capabilities
This is not really a validation routine.