Kompilatorfel C2006

"directive": förväntade "FILENAME" eller <FILENAME>

Remarks

Direktiv som #include eller #import kräver ett filnamn. Lös felet genom att kontrollera att filnamnet är giltigt och omgivet av dubbla citattecken eller vinkelparenteser.

Example

I följande exempel genereras C2006:

// C2006.cpp
// compile with: /c
#include iostream     // C2006
#include 'iostream'   // C2006
#include <iostream>   // OK