this is my code and problem is with the space between months and years::
for(;;){
char TmpAge[10];
cout<<"What age is the pet? (yy mm ) => ";
cin.getline(Tmp Age,MaxChars);
if(strlen(TmpAg e)==0){PetRecs[NumRecs].Age.Mths = PetRecs[NumRecs].Age.Yrs =-1; break;}
else if(is_number(Tm pAge)==false){
cout<<"Invalid input1!\n"<<end l;
...
User Profile
Collapse
No activity results to display
Show More