CodeBlock opens 2 console windows when executing a prog

前端 未结 2 875
谎友^
谎友^ 2021-01-15 03:43

I have recently installed Code Blocks and I\'m using it for C++ programming.

I have written a basic Hello World program and when i run the program, 2 console window

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-15 04:21

    If you're running Avast, go to :

    • Settings -> Active Protection -> File System Shield [settings icon] -> Exclusions.
    • Press [Add]
    • and enter the following: " * /folder/* " where folder is the name of your project folder (no spaces).

    Should run fine now.

提交回复
热议问题