User Guide

Contents

Include
the Annotations Header File in C/C++ Sources

When you add annotations to your C/C++ source files, you also need to include the
Intel® Advisor
annotation header file
advisor-annotate.h
in those files. Use the code editor to type the line or use the context menu item to add a
#include
directive.
To include the annotations C/C++ header file, specify one of the following forms listed below:
Use the quoted form to have the preprocessor first search for the header file in the same directory as the source file that contains the
#include
directive, and then other directories (see your compiler documentation for details).
#include "advisor-annotate.h"
Use the angle bracket form to have the preprocessor first search for the header file in the directory specified by the /I option (Additional Include Directories), and then other directories (see your compiler documentation for details).
#include <advisor-annotate.h>
To use the include file with Fortran sources, see
Intel® Advisor
Annotation Definitions File
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.