i have a cin.getline string that i want to place in an array. wut do i need to do ??if u know. plz tell me wut to add to the code i have.
thx.Code:
void newperson ()
{
int count, numppl;
cout<<"How many people do you want to introduce?"<<endl;
cin>>numppl;
for (count=0 ; count <=numppl ; count=count +1)
{
cin.getline (input, 50);
}
}