Thank you.Code:char** Delete(char** Names){ // <---- here? cout << "Name: "; cin >> temp1; for (int x=0; x<=count; x++){ if (strcmp(Names[count], temp1)){ // <<----- I think it is here... cout << "Deleted\n"; return (Names); } if (x==count){ cout << "Not found!!\n"; return 0; } } }
I tried everything... from 2-d arrays to pointers... Ac Vi always.