User forums > Using Code::Blocks

Using multiple files in C::B

<< < (2/2)

oBFusCATed:
Just create a console or an empty project and start adding files.
And create an add.h file where you declare your function.
If you still cannot make it work please post the full build log as already requested.

jagdesign@cableone.net:
Thanks,  I managed to get this to work by creating a new Project. 
How ever that leaves me with other questions.

If now want to create a new projects to C::B the new project name gets grouped under any project you have under the management window.  How can I clear the workspace, and the project files that are already there?   Do I have to open Windows 10 and delete all the files there?

oBFusCATed:
Use File -> close project or File -> close workspace. In the latter case you could click the no button when asked to save the default workspace.

Navigation

[0] Message Index

[*] Previous page

Go to full version