#ifndef BRANCH_H #define BRANCH_H #include //for class string #include //for class vector using namespace std; struct branchInfo { string name; //name of branch ("Army", "Navy", etc.) vector rank[3]; //an array of three vector }; class branch { //a branch of armed forces (Army, Navy, etc.) const int b; //which branch (in the range 0 to 5 inclusive) static const branchInfo branches[6]; public: branch(int init_b); //Declaration for the constructor string getName() const; //the name of this branch void print() const; }; #endif