Re: Setting up Emacs
2) All these IDE/editors use the same compiler under the hood (gcc). May you could envision that the problem of variable initialization isn't with the compiler but with your code or the way you compile it. After all, you are just a beginner and these compilers are not distributed in the wild without running some very heavy testing. They are also used to compile most Linux apps, so if there were such a blatant bug it would have been fixed already. Post your loop code and someone may tell you why you get the error.
Warning: unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.