Issue
I'm gonna start to learn C programming, and I've tried unsuccessfully to setup the environment.
I have Windows 8.1 64Bit. What I have tried is:
Install the C/C++ plugin for my Netbeans IDE (which I currently use for Web Development)
Install MinGW and add some other stuff according to this documentation
Netbeans seemed to work and build the hello world application, but in the end, the console froze and no hello world was displayed, it just stayed there thinking.
Then I decided to uninstall the C plugin for Netbeans and delete the MinGW folder to try Code::Blocks
After installing Code::Blocks with the default values and compilers, the same happens, it Build successfully but when the console opens it doesn't display any Hello World, it just freezes there!
It's really frustrating and I have no experience setting up environments for these languages.
Any help will be very appreciated
Solution
Thanks to Bo Persson for his quick comment. If your program builds properly, but it freezes the console or just doesn't seem to start (but the IDE shows something's going on) is because AVAST Antivirus is stopping it from executing properly.
Just disable AVAST Shields while you're developing in C. I don't know if it applies to all versions of Windows or environments.
Answered By - Juan Bonnett
Answer Checked By - Willingham (JavaFixing Volunteer)