Is there a way to detect input form file redirection? (C++)

后端 未结 0 1502
刺人心
刺人心 2021-02-05 07:21

I\'m making a program that receives input in 3 ways:

keyboard (via cin)

file (via argument given at cmd line)

and input from file redirect.

I\'m maki

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