“Cannot Open a.exe” Error in C++
I'm trying to compile my C++ program, but when I press the "Build" button, it displays the following error message: c:/gnat/2010/bin/../libexec/gcc/i686-pc-mingw32/4.3.6/ld.exe: cannot open output file a.exe: Invalid argument collect2: ld returned 1 exit status This is not the first time it has done this. It seems to do this most when I have been editing the same project a lot and building it often, almost as if something has been flooded, or overloaded, or something. I had fixed it before, I believe, by restarting my PC, but I can't afford to keep restarting my PC every time this occurs. I