gcc on Windows: generated “a.exe” file vanishes

前端 未结 8 2219
一个人的身影
一个人的身影 2021-01-12 12:01

I\'m using GCC version 4.7.1, but I\'ve also tried this on GCC 4.8. Here is the code I\'m trying to compile:

#include 

void print(int amount)         


        
8条回答
  •  误落风尘
    2021-01-12 12:32

    You can stop your antivirus software from deleting your .exe by specifying the full file path (for eg: c:\MyProject) in the 'paths to be excluded from scanning' section of the antivirus software.

提交回复
热议问题