Update Master File?

The program I am working on needs to read in a round file then create a master file. It then can take in multiple round files after that. There are action codes in the read in file for Add and then to Delete or Change a previous file in the master file by finding the persons ID and name. I am having trouble figuring out how to update or delete. I have a function for the 3 actions set up.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  void readActionCode(playerData stats[], int counter)
{
	int x = 0;

	for (x = 1; x < counter; x++)
	{

		if (stats[x].actionCode == 'A')
		{
			
		}

		if (stats[x].actionCode == 'D')
		{

		}

		if (stats[x].actionCode == 'C')
		{

		}
	}
}
Topic archived. No new replies allowed.