View Single Post
Old Nov 18th, 2005, 5:22 PM   #10
Blighttdm
Newbie
 
Blighttdm's Avatar
 
Join Date: Oct 2005
Posts: 17
Rep Power: 0 Blighttdm is on a distinguished road
Firstly thanks,
Second, I just want to understand how these corrections work.
fgets(input,sizeof(input),stdin);
I know gets is used for strings but why use it in a single string?
Also stdin, I have no idea what that does, does it involve strings or some type of typical error as a result of gets?
len--;
Why do I have to decrement len? Is it for appending reasons?
Blighttdm is offline   Reply With Quote