I'm sure it's just a simple syntax error. I understand this code has its share of errors, however right now I'm just concerned with the error at the malloc call if structure. I would like to solve the rest of the problems myself. I just cannot seem to find where I have gone wrong with with this particular one. Error should be in line 8.

That particular line looks fine to me. Remember that the first error you look at should always be the very very first error your compiler gives you. Please make sure this is the first error, and cut & paste it so we can take a look.

12-07-2011

seannabeast

EDIT: I have fixed most of the errors in my code. Here is the list of errors: