wut is the problem with the pointer???. the compiler doesnt find an error but when i run it it gives me an illegal operation and i have to close it. any ideas??
thxCode:void newperson () { int count, numppl; char *strp; *strp = input[20]; cout<<"How many people do you want to introduce?"<<endl; cin>>numppl; for (count=0 ; count <=numppl ; count=count +1) { cin.get (input, 20); } }