I presume I will understand things differently later, but after reading the wikipedia thing on header files, I have to say it seems pointless to include prototypes in one file for definitions that...
Type: Posts; User: MK27
I presume I will understand things differently later, but after reading the wikipedia thing on header files, I have to say it seems pointless to include prototypes in one file for definitions that...
Yes, I'm new to C and my question was definately about passing variable types. Sorry, I had forgotten getline() is GNU-specific.
Anyway I did get it to work such that "char *line=linein(stdin);"...
I'm trying to make a brief header function for getline() (called "linein") so that I can go:
char *line;
line = linein();
Only I would like to include the stream, so instead the second line...