richanderson1984
January 29th, 2009, 05:37 PM
I'm new to both programming and Linux, so please bear with me. I've started off with C, and have been compiling using the following command:
gcc -o filename filename.c
However, when I input the gets() function into source code, I receive the following warning message from Ubuntu:
filename.c:(.text+0x54): warning: the 'gets' function is dangerous and should not be used.
How do I bypass this warning message? Any help would be much appreciated.
Thanks,
Richard
gcc -o filename filename.c
However, when I input the gets() function into source code, I receive the following warning message from Ubuntu:
filename.c:(.text+0x54): warning: the 'gets' function is dangerous and should not be used.
How do I bypass this warning message? Any help would be much appreciated.
Thanks,
Richard