What is wrong with _TCHAR*

#include <stdarg.h>
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>

using namespace std;
int _tmain(int argc, _TCHAR* argv[])
Last edited on
if you're using microsoft visual studio, you can take out the int_tmain and simply put
int main ()

You need to include the header file that contains the definition for _TCHAR.
#include <tchar.h>
Thanks everyone. This is my very first class on C++ and I try to learn how to identify problems in programs to be aware of problems and fix it. Thanks again everyone. I will post another one soon
Topic archived. No new replies allowed.