By default, the IDE creates a simple Hello World C/C++ source file for you (but not for simple Makefile projects), which you may or may not want to use as a template for your own code.
To create a new C/C++ file:
-
Highlight the project that contains the new file you're creating.
-
Click the New C/C++ Source File button on the toolbar.
-
Enter (or select) the name of the folder where you want the file to reside.
-
Name your file, then click Finish.
You'll see an empty text editor window, ready for you to begin working on your new file. Your filename appears highlighted
in blue in the title bar above the editor.