-
Newbie array problem
Hey,
I am completely new to this and am trying to make a simple program but am getting 1 error that I cant find.
The code is this:
Edited
Can someone please tell me what is causing that? Sorry if it is really simple but I have tries for about an hour.
Thankyou
-
> fflush(stdin);
Read the FAQ - this is undefined.
It might work for you, but it won't work for me.
> void GetName(char name[20])
Your prototype also needs the same parameters as well
-
Compare the function prototype to the function definition.
[edit]
Curses, foiled again!
[/edit]
Quzah.
-
Thankyou :)
Working now Woo Hoo! :)