gets
Reading input in C with linked lists
I\'ve made a Linked List. Its elements keep both previous and next items\' address. It gets commands from an input file. It detects the command and uses the following statement as a parameter. (text:[详细]
2023-02-05 11:56 分类:问答if one complains about gets(), why not do the same with scanf("%s",...)?
From man gets: Never use gets().Because it is impossible to tell without knowing the datainadvancehowmany[详细]
2023-01-02 13:57 分类:问答Why is gets throwing an error when arguments are passed to my ruby script?
I\'m using gets to pause my script\'s output until the user hits the enter key.If I don\'t pass any arguments to my script then it works fine.However, if I pass any arguments to my script then gets di[详细]
2022-12-19 02:44 分类:问答Why is the gets function so dangerous that it should not be used?
When I try to compile C code that uses the gets() func开发者_JS百科tion with GCC, I get this warning:[详细]
2022-12-11 07:11 分类:问答