Working With Projects | Creating a New Project |
Editing a Project | Changing a Project's Source Files |
Use the Choose Source File dialog box to load source files into your project. To open the Choose Source File dialog box, click the Enter Source Files tab in the Edit Current Project Window or in the Create New Project wizard (Project New Project
Create With the Wizard), and click the browse button (...) next to the Enter Source File Name or Directory Name text box.
The Choose Source File dialog box has the following components:
Directory status line | Displays the current directory. |
File pane | Lists the contents of the selected directory. To add a source file to the source file list in the Enter Source Files pane, double-click on the source file. To show the contents of a subdirectory, double-click on the subdirectory. To add all the source files in a subdirectory to your project, select the subdirectory, and click OK. To add multiple source files, press Control and select the files you want to add, and then click OK. |
Name text field | Allows you to specify a specific path or file name. Click Update to display the specified directory in the Directory status line. If you type a wildcard (for example, *.h) and click OK, all matching files are added to the project. |
OK | Adds the source file to the project and closes the file chooser. |
Update | Changes the name of the directory in the Directory status line to the directory entered in the Name box. Displays the contents of the directory selected in the file pane or entered in the Name box. |
Close | Closes the dialog box. |
Help | Opens online help about this dialog box. |