i'm sorry if i ask too much question regarding the above errors.
i understand that it is already on the scope of this forum because
at first i thought it was a extension problem.
i just could not help it to ask. sorry.
in the GNU C programming tutorial it states like this:
"getline
The getline function is the preferred method for reading lines of text from a stream,
including standard input. The other standard functions, including gets, fgets, and
scanf, are too unreliable. (Doubtless, in some programs you will see code that uses
these unreliable functions, and at times you will come across compilers that cannot
handle the safer getline function. As a professional, you should avoid unreliable
functions and any compiler that requires you to be unsafe.)"
i am not a professional programmer, just for the sake of learning, i just wanted to know
how to actually use this function.
i would really appreciate your comments about this.
thanks