It looks like you have something wrong in your compiler settings. Maybe look at this question: CodeBlocks : [highlight: No such directory found
All I did was go to “Compiler Settings” (“Settings” -> “Compiler” -> Global compiler settings), and selected “Reset Defaults”.
Does that work for you?
1
solved CodeBlocks C++ program not running