int _tmain(int argc, _TCHAR* argv[]) Not Being Declared

int _tmain(int argc, _TCHAR* argv[]) is not being declared when I compile need help please.
Try the similar definition :
1
2
int main(int argc, char *argv[])
{}

Hope it helps.
ok that seemed to help thanks but now this is not working #include "stdafx.h" 1 C:\Dev-Cpp\main.cpp stdafx.h: No such file or directory.
stdafx.h is for Visual Studio. In Dev you can leave it out.
Last edited on
Topic archived. No new replies allowed.