View Single Post
Old 11-30-2006, 07:08 AM   #4 (permalink)
toe_cutter
Code Monkey
 
Join Date: Aug 2002
Location: Boston, MA
Posts: 79
toe_cutter is on a distinguished road
Send a message via ICQ to toe_cutter Send a message via AIM to toe_cutter Send a message via Yahoo to toe_cutter
Were do you declare the variable or should I say pointer called pointer?

used here: gets (pointer->name);

I also notice that you have name as a char[20], but when the user input the name you do not checking for size. I could be wrong, but I think that could cause a buffer over flow?
__________________
toe_cutter is offline   Reply With Quote