I was wondering if anyone knows how to build a small (26) record database?

How exactly would I go at it? Would I make 26 txt files and do a

while (s[0]==.......&& s[1]==......)
inFile.open("david.txt", ios::trunc)

i need to be able to sort by name, song, or company and be able to edit/delete/and add to it too.

some give me a few pointers please!!!!!!