My problem is that code::blocks error message tells me that it can\'t find file executable in the search path for gnc gcc compiler. Although, I don\'t know w
gnc gcc
Just open your setting->compiler and click on the reset defaults and it will start work.