Code Sample

Samples for Intel® C++ Compiler

Intel® C++ compiler is an industry-leading C/C++ compiler, including optimization features like auto-vectorization and auto-parallelization, OpenMP*, and Intel® Cilk™ Plus multithreading capabilities; plus the highly optimized performance libraries.

We have created a list of articles with samples explaining the features in detail and how or when to use in the source code. There are:

  • Apple macOS*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Intermediate
  • Intel® Advanced Vector Extensions (Intel® AVX)
  • Intel® Streaming SIMD Extensions
  • OpenMP*
  • Optimization
  • Parallel Computing
  • Vectorization
  • Windows* 8 Store App - Gradebook Sample App


    The gradebook sample application showcases how to use Portable Class Libraries to demonstrate sharing logic across application platform targets including Windows Desktop and the Windows Store. The app then follows the Model-View-ViewModel (MVVM) pattern to bind to the data. We use this approach to create classes and objects that can be reused in various client applications.

  • Microsoft Windows* 8.x
  • Beginner
  • ultrabook
  • WindowsCodeSample
  • Gradebook
  • Microsoft Windows* 8 Desktop
  • Microsoft Windows* 8 Style UI
  • Touch Interfaces
  • Introducing the Digital Mementos Sample Application

    Digital Mementos is a sample travel application that uses three Intel® Cloud Services Platform services, namely Intel® Identity Services, Location Based Services, and Context Services, to build true cross-platform, transparent consumer experiences in the form of Windows* 8, Android*, and web client applications. Digital Mementos is a device agnostic, context-aware concept that provides a seamless, integrated user experience by taking advantage of the corresponding features of the devices where the features are running.

  • Android* OS
  • Microsoft Windows* 8.x
  • JavaScript*
  • Intermediate
  • Cloud Computing
  • Tuning the Intel MKL DFT functions performance on Intel® Xeon Phi™ coprocessors


    Intel® Math Kernel Library (Intel® MKL) includes the optimized DFT transform functions on Intel® Xeon Phi™ coprocessors. These functions are carefully vectorized and threaded to take advantage of the hardware features. This article provides some performance tuning tips on running MKL DFT function on Intel Xeon Phi coprocessors.  We will start with some simple example code.

    Building the example code

  • Linux*
  • Server
  • C/C++
  • Fortran
  • Beginner
  • Intermediate
  • Intel® Math Kernel Library
  • Intel® Streaming SIMD Extensions
  • DFT
  • FFT
  • performance
  • offload
  • tuning
  • Intel® Many Integrated Core Architecture
  • Optimization
  • Subscribe to Code Sample