Solving problems with Code::Blocks