User forums > Using Code::Blocks
Code Blocks(New project set default main filename)
(1/1)
Cool Javelin:
Code::Blocs16 - Win7
When I start a new project, C::B creates a file for me called main.c (or maybe main.cpp.)
Is there a way to get C::B to automatically name that file the same as my project name, not main.c?
I know how to rename it manually (Project Manager->right click the main.c file, select rename.)
For example: I may want to create a project called MakeTable. Rather then C::B creating (then later me renaming) main.c, I'd like C::B create MakeTable.c.
Is this possible? If so, How to?
Thanks, Mark.
stahta01:
You can likely edit the project wizard.
If you want help, you will need to say what wizard you are using.
Tim S.
Navigation
[0] Message Index
Go to full version