fgets waits for '\n' before getting input to the buffer

后端 未结 0 1698
暗喜
暗喜 2021-01-02 18:51

I am trying to use fgets from stdin and it starts collecting data from screen only after i type \'\\n\'. until the \'\\n\' it\'s stuck.

note: I don\'t have any scanf

相关标签:
回答
  • 消灭零回复
提交回复
热议问题