Code::Blocks

User forums => Using Code::Blocks => Topic started by: Cool Javelin on December 18, 2019, 01:27:09 am

Title: Code Blocks(New project set default main filename)
Post by: Cool Javelin on December 18, 2019, 01:27:09 am
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.
Title: Re: Code Blocks(New project set default main filename)
Post by: stahta01 on December 18, 2019, 03:26:08 am
You can likely edit the project wizard.

If you want help, you will need to say what wizard you are using.

Tim S.