Code Blocks redirecting input output

后端 未结 6 1858
被撕碎了的回忆
被撕碎了的回忆 2020-12-16 04:58

I\'m new to code blocks, and I can\'t seem to get it to work with command line arguments of < input > output. Does anyone know how to?

I\'m currently able to read

6条回答
  •  被撕碎了的回忆
    2020-12-16 05:41

    I was able to get input redirected to my c program by setting program arguments in project menu.

    Navigate to Top Menu>Project>Set programs' arguments and put notice < in start it tricks codeblocks into redirecting file instead of passing argument.

提交回复
热议问题