storing data in different locations in EEPROM

While reading data from an current database(list of all students in class) ,how can i store matching data(for getting no. of students present in class) in another location. using a menu. .Sorry if i am asking something silly please help with the code.
#include <NewSoftSerial.h>
#include <EEPROM.h>

char rfid_data[10];
char rfid_in[10];
int i, a, b, tmp;

NewSoftSerial RFID(10, 255);

void setup()
{
Serial.begin(9600);
RFID.begin(2400);
pinMode(11, OUTPUT);
}

void comparing()
{
// Read a card
for (int rs = 0; rs < 11; rs++)
{
rfid_data[rs] = '0';
}
rfid_data[10] = '\0';
digitalWrite(11, LOW);
delay(500);
do
{
delay(200);
} while (RFID.available() <= 0);
digitalWrite(11, HIGH);
delay(500);
Serial.println("Reading Card");
rfid_data[0] = RFID.read();
if (int(rfid_data[0]) == 10)
{
for (i = 0; i < 10; i++)
{
rfid_data = RFID.read();

  • }*
  • rfid_data[10] = '\0';*
  • }*
  • Serial.print("Checking Card: ");*
  • Serial.println(rfid_data);*
  • // Check if it's in the database*
  • a = EEPROM.read(0);*

The argument to EEPROM.read() is where to read from. The first argument to EEPROM.write() is the address to write to.

Given that, your question doesn't make sense.

That's not a complete sketch and it's not in code tags. Read the sticky note at the top of the forum and post correctly.