structures and functions

This is a discussion on structures and functions within the C Programming forums, part of the General Programming Boards category; I am trying to create a program with a structure that stores the information of a student. It must also ...

structures and functions

I am trying to create a program with a structure that stores the information of a student. It must also include a function that prompts the user for the information of the student. The functions only argument is to be pointer to the structure. I am completly lost, (as I think my code shows). Can someone please tell where I've screwed up at? My compiler won't even compile this( I'm using Borland 5). I've never had that happen before.

???

Here's where I'm at now. I realized I had not declared 'number in my function, so I made that change also. But my compiler still starts but will not finishing compiling. I'm about ready to throw in the towel on this one. Structures have completly done me in.