User forums > Using Code::Blocks
Creating new unit (cpp&h)
(1/1)
Vorlath:
How can I create a new unit with Code::Blocks? I want to create both the .cpp and .h at the same time.
Thanks
Jenna:
If they should contain a class, you can use the class wizard plugin: "Plugins -> Class Wizard".
If you want empty files you can create either the .cpp or the .h-file from the "File -> New" menu and after having it open, you can use "Swap header/source" from the context-menu.
If the file you try to swap to does not exist, C::B asks if you want to create it.
Vorlath:
Thanks for the info. It will do what I need. I still say there should be an option to create both at the same time though.
Navigation
[0] Message Index
Go to full version