Searching a file

Hi guys,
I finally got my 1st program compiled and going, I created a mini database (it's pretty simple, just one class) and it generates a binary file in the main with several types: 3 short integers, 5 strings and 1 bool

Now I have to make another class that will read the file and search the contents for information depending on your search.

I know how to make the ifstream and how to read the file, but someone please point me in the direction... where do i find information on how to make a search query for my class???

any help is appreciated, even "read chapter x from y book" is good for me
Well, you will want to make sure you null-terminated your strings. That's a good step.
Topic archived. No new replies allowed.