I have this code that calls a number and is equal to the array, I need to remove the whole line:
1 2 3 4 5 6 7 8 9 10 11
cout << "Enter the number you want to delete:";
flushall ();
cin >> number;
for (int i=0; i<c, i++)
{
if (number==Person[i].Number)
{
remove (Person[i].Number) //This is the part where I need help to remove a record.
}
}
_getch ();