Multi line input from stdin using fgets()

前端 未结 0 1756
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 12:19

I am trying to input something like this

line 1
this is line 2
now line 3

Using fgets and from the user stdin

My snippet:

c         


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