Creating New Source Files for Your Project
You can create new source files and add them to your project.
-
Right-click the Source Files folder and choose New > C Main
File.
-
On the Name and Location page, newmain is displayed
in the File Name field.
-
Click Finish.
Note -
You can also remove files from the folder. In this case, you do not need the
main.cpp file that was added by default when you
created the project. To remove this file from the project, right-click on the
file name and choose Remove From Project.