Creating files from scratch

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:
  1. Highlight the project that contains the new file you're creating.
  2. Click the New C/C++ Source File button on the toolbar.

  3. Enter (or select) the name of the folder where you want the file to reside.
  4. 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.