cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
What is wrong with _TCHAR*
What is wrong with _TCHAR*
Dec 8, 2012 at 4:07am UTC
A C
(5)
#include <stdarg.h>
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
Last edited on
Dec 8, 2012 at 4:12am UTC
Dec 8, 2012 at 7:41am UTC
palauan73
(47)
if you're using microsoft visual studio, you can take out the int_tmain and simply put
1
2
3
4
int
main () { }
Dec 8, 2012 at 1:57pm UTC
kameswarib
(37)
You need to include the header file that contains the definition for _TCHAR.
#include <tchar.h>
Dec 8, 2012 at 8:54pm UTC
A C
(5)
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.