Query as I have heard of.

I have a structure
that holds name, age and other information for different student of a class in a array which holds students.
* now i want the user to enter what type of students they want to see and i will have to show them those students who meet the users requirments.
I have heard it referred to as query.
but how exactly would i do that?

What exactly is the user entering? Is he entering a string as his query, or a number corresponding to a menu that you provide, or what...? What exactly do you want by "type of student"???
Topic archived. No new replies allowed.