//**************************************** //in this test I use function overloading //to improve construct flexible input //**************************************** #include #include using namespace std; //--------------------------------------- class user{ char name[10]; char surname[10]; int id; public: //flexible construct, user could insert surname or not user(char *na, char *sur, int i); user(char *na, int i); void show(); }; user::user(char *na, char *sur, int i){ strcpy(name,na); strcpy(surname,sur); id=i; } user::user(char *na, int i){ strcpy(name,na); id=i; strcpy(surname,"0"); } void user::show(){ cout<