I can only use item "compile current file" correctly, but the item "run" is still grey, I can not use it to produce the result to screen,How can I do to use it normally.
Create a project with at least one runnable target.
Thank you ,sir
Run should work without a project. I just tried that and it works fine here (revision 3991, Linux).
What version of Code::Blocks are you using?