I'm using GCC\Linux and it looks like that code may not be compatible.
Resulting debug:
C:\Users\ryan\Desktop\blarg_test\main.cpp||In function 'int main()':|
C:\Users\ryan\Desktop\blarg_test\main.cpp|8|error: 'WCHAR' was not declared in this scope|
C:\Users\ryan\Desktop\blarg_test\main.cpp|8|error: expected ';' before 'c'|
C:\Users\ryan\Desktop\blarg_test\main.cpp|9|error: 'c' was not declared in this scope|
||=== Build finished: 3 errors, 0 warnings ===|