I'm working with Code::Block a few days.
Why this happens at C++Editor Code:: Blocks, after adding additional empty files ( CTR-SHIFT-N untitled.cpp ) in any projects and copying content from working code from main.cpp in order to have a copy on hand, appears info error: "multiple definitions of `main' "during compiling-Is that mean in this editor is not possible to have function main() in current project at each file.
The compiler is working well without error when removing this additional copied files from the project and compiling possible is again.