file problem

1
2
3
4
5
6
7
struct patient
{
int ID;
char name[60];
char adress[60];
char age[4];
}patients;

i want to make file to every patient , my problem it how to make the name of the file with the ID that every patient will enter
please help
Are you using fstream to output to a file?
Topic archived. No new replies allowed.