Why do I get that error when I try to compile this code
Code:#include<windows.h> int _stdcall _tmain(int argc, _TCHAR* argv[]) { }
Why do I get that error when I try to compile this code
Code:#include<windows.h> int _stdcall _tmain(int argc, _TCHAR* argv[]) { }
This is not a C problem. It belongs in a windows programming forum.
Odds are you've configured your compiler (or used compilation options) to turn off Microsoft extensions, or you are using a compiler that does not support such extensions.
That's only a guess though - you haven't really provided enough information (the compiler and compiler settings you have in play is an important consideration).