Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////////
- //Sub-Structures
- struct SubscriberName //Sub-Structure for subscriber_master
- {
- string fname;
- string lname;
- int custID;
- }
- struct Address //Sub-Structure for subscriber_master
- {
- string street;
- string city;
- string state;
- int zip_code;
- }
- struct Date //Date Sub-Structure for use in RenewalInformation structure
- {
- string month;
- int day;
- int year;
- }
- struct RenewalInformation //Sub-Structure for subscriber_master
- {
- int months_left;
- Date renew_notice;
- }
- /////////////////////////////////////////////////////////
- //Top-Level Structure
- struct subscriber_master
- {
- SubscriberName sub_name;
- Address address;
- RenewalInformation renewal_info;
- }
- /////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement