小编Yog*_*dra的帖子

我想运行一个可执行文件并从文本文件中获取输入,然后在 Windows cmd 中写入输出

在 ubuntu 中我会通过以下命令来完成

./a.out < input.txt | cat > ouput.txt
Run Code Online (Sandbox Code Playgroud)

我怎样才能在 Windows cmd 中执行此操作?

c windows cmd io-redirection

-1
推荐指数
1
解决办法
4936
查看次数

标签 统计

c ×1

cmd ×1

io-redirection ×1

windows ×1