After using fgetc(stdin) on a variable, how do I pass the input to strtol?

前端 未结 0 1333
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-29 09:50

I have a variable where the user inputs one number. That variable is of type int because that\'s the return value of fgetc(stdin) and getchar()

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