code blocks problem

I am using code blocks but I don't have souces folder after creating a new project and there is no main.cpp too what can I do
Last edited on
Have you tried adding a new main.cpp file to your project?
I have main.cpp in my project folder and i can open it , but in the management still only my project name
You need to tell Code::Blocks to add the existing file as part of your project. I haven't used Code::Blocks and don't have it installed, but I would assume that if you right click on your project name in the project tree, you should get an option along those lines.
Topic archived. No new replies allowed.