Error C2014: preprocessor command must start as first nonwhite space
Cause
This error message is generated in Visual C++ when a preprocessor command comes after some other commands, definitions, or assignments in the same line. Ex:
int a; #include <stdio.h>
Solution
If you are using a preprocessor command, the line must start with that command, so make the commands and definitions, assignments seperated. For the above sample, it will be solved like this:
int a; #include <stdio.h>
Or you can use:
#include <stdio.h int a;
//
preprocessor command must start as first nonwhite space