- Create bin folder
- Go to Settings/General and update:
- Output file: /bin/$(ProjectName)
- Working directory: /bin
- Test it!
- Delete main.c
- Create source folder
- Create a new [YOUR_PROYECT_NAME].c but selecting source folder
- Test it!
- Create a new virtual folder called include
- Create a new [YOUR_PROYECT_NAME].h but selecting include folder
- Go to Settings/Compiler and update:
- Include Paths: .;./include
- Add the header to [YOUR_PROYECT_NAME].c
- #include " [YOUR_PROYECT_NAME].h"
- Test it!