Code Blocks redirecting input output

后端 未结 6 1843
被撕碎了的回忆
被撕碎了的回忆 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:33

    I have found a way how to do it in CB 13.12

    Tools -> Configure Tools -> Add:
    
    Name: whatever
    Executable: C:\Windows\System32\cmd.exe
    Parameters: /C ${TARGET_OUTPUT_BASENAME} exampleArg1 

    It basicaly launches windows console and passes Parameters to it. You can also assign keyboard shortcuts to these tools. The only disadvantage i can see is that the tools are not project specific.

提交回复
热议问题