Fatal Error C1021
invalid preprocessor command 'string'
string
is not a valid preprocessor directive. To resolve the error, use a valid preprocessor name for string
.
The following sample generates C1021:
// C1021.cpp
#BadPreProcName // C1021 delete line
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for