i want to delete an element of array structure to use it again to more understand look to the part of this code
struct patient
{
int ID;
char name[100];
float age;
char sex[7];
char adress[100];
char hometelephone[12];
char mobiletelephone[11];
char workingtelephone[12];
char date[12];
char time[13];
} patients[100];
void delet()
{
int ida;
cout<<"Enter your Id"<<endl;
cin>>ida;
/* i want to delete this patient
patients[ida].name=0;
patients[ida].age=0;
patients[ida].id=0;
patients[ida].sex=0;
patients[ida].hometelephone=0;
patients[ida].workingtelephone=0;
patients[ida].mobiletelephone=0;
patients[ida].date=0;
patients[ida].time=0;
*/
}