Clearing a structure

Hey guys,
My problem is that in my program, my structure takes in information from a file, and when I try to exit the program, it is realizing that the structure is not empty and is wanting to continue. Is there a command that will end the program or will clear out my structure?
Can you post a small example that demonstrates the problem?
Topic archived. No new replies allowed.