audit
March 7th, 2011, 07:08 PM
Is getline() part of the standard? More importantly how do I find out if something is part of the standard?
In c I tried to write a getline() function and I was not allowed because one seems to be already included in <stdio.h> (although I am not even sure of that).
I looked for some documentation online and all I found was one reference for this function, but it left me wondering if it is part of the standard, or just something that was placed in gcc 4.4.5.
What I am interested in what is part of the c89 standard. I am using Codeblocks which I have never used before, maybe my problem is I need to set some flag to insure I am using the standard I want.
All help especially links is appreciated.
Thanks
In c I tried to write a getline() function and I was not allowed because one seems to be already included in <stdio.h> (although I am not even sure of that).
I looked for some documentation online and all I found was one reference for this function, but it left me wondering if it is part of the standard, or just something that was placed in gcc 4.4.5.
What I am interested in what is part of the c89 standard. I am using Codeblocks which I have never used before, maybe my problem is I need to set some flag to insure I am using the standard I want.
All help especially links is appreciated.
Thanks