This documentation is archived and is not being maintained.

Compiler Error C2012

Error Message

missing name following '<'

An #include directive lacks the required filename.

The following sample generates C2012:

// C2012.cpp
#include <   // C2012 include the filename to resolve

Possible resolution:

// C2012b.cpp
// compile with: /c
#include <stdio.h>
Show: