Previous Topic Next topic Print topic


Add Include Files

To add new include files to the project:

  1. Right-click the project name.
  2. Select Add > New Item.
  3. From the Visual Studio installed templates, select Include File.
    Note: When an include file is added in this way, the build action is set to "Include File".

To add existing include files:

  1. Go to Project Properties > Compile.
  2. Put the directory where the include files are in the Include path field.
  3. Right-click the project name.
  4. Select Add > Existing Item.
  5. Select include file.
  6. Click Add.
Note: You need to add the include files to the project so that the build process will recognize when an include file has changed and will recompile the appropriate programs. It will also help with features such as find in files.
Previous Topic Next topic Print topic