Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'directive': expected "FILENAME" or <FILENAME>
Directives such as #include or #import require a filename. To resolve the error, ensure the filename is valid and enclosed in either double quotes or angle brackets.
The following example generates C2006:
// C2006.cpp
// compile with: /c
#include iostream // C2006
#include 'iostream' // C2006
#include <iostream> // OK
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in