From: Alex H. <haa...@gm...> - 2007-02-06 22:10:48
|
I want to be able to use fgets to get from stdin (keyboard), but when i use fgets(buffer,sizeof(buffer),stdin), it doesn't wait for input and basically skipps over that line, and nothing is in buffer because it never got anything from stdin. Is there a way to fix this, or is this an issue that I have to deal with, or do I need to use some other C function. Thanks, Alex Haack |