Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

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

$
0
0

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 or C# sources, see About Using the Intel Advisor Annotation Definitions File.

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>