How to run code without creating new projects

Started by MVDVPRSD, January 30, 2022, 12:42:02 PM

Previous topic - Next topic

MVDVPRSD

Hi,
I am fairly new to C...I want to save and run source codes...I was wondering if I need to create a new project each time I run a new source file...; what I want is a folder in which I can save multiple source files and run them independently... when I tried this within a project ,it was returning "main() already defined"..... any help?

thanks

TimoVJL

Create project and disable other files in project.
May the source be with you

John Z

To do what TimoVJL proposes you right click on the source files in the source files list on the righthand window and select 'exclude'.  See attachment.

This may seem convenient in the beginning but once you start to have many source files for a project you'll want to have separate projects.

John Z

MVDVPRSD