Ok, I have some new information. I just installed a new IDE to try out, called "Geany". First test compilation (tiny "hello, world" app) worked fine, but when I tried to execute the test program (from within Geany), it stalled my comp so bad that I needed to hit the power button to shut down. This rarely (if ever...) happens. Usually Process Explorer or the windows equivalent can kill a problematic application. I did, however, notice something in Process Explorer before it totally froze. AvastSvc.exe had opened a new program beneath it (in it's tree) called "Sf.bin", although it showed up as using none of the cpu. In fact, this time nothing was showing any load on the cpu (under visual c++ it was a constant 100% when stalled), as if Avast was just in a wait state. I rebooted and tried disabling the behavior shield, thinking this would solve the issue again, but it did not. With this new program, the only way I can execute a program I compiled is by completely shutting down Avast. I'm sure it has something to do with "sf.bin".
One thing to note - this computer I'm using to do my programming work is NOT hooked up to the internet (or any network) right now. It was not yesterday (when I made the first post) either. Later today, I'll try everything out again after connecting to the internet, although I'm not sure WHY that would have anything to do with this problem. Avast shouldn't need a computer to be hooked up to the net in order to allow it to function properly. Anyway, I'll update again later with any news.
EDIT: If anyone out there has any info to share about problems related to ANY development software conflicting with Avast, I'd like to hear how you fixed it. I'm pretty sure it's not some bug that only occurs with these few IDEs. Obviously, it's just that Avast (and maybe most other AVs as well) are finicky when it comes to batch files, fresh console applications, and dev software in general (although Comodo seems to work just fine after editing my security policies, as annoying as that is to do).