Hi,
why use '_tmain()' as entry point of the program in a console-application ?
why is _tmain() used instead of main() ?
_tprintf() instead of printf() ?
why '_t' ?
thnx
Chris
Jochen Kalmbach - 18 Sep 2004 10:57 GMT
> why '_t' ?
See: <tchar.h>
http://msdn.microsoft.com/library/en-us/vccore/html/
_core_generic.2d.text_mappings_in_tchar..h.asp
In short:
It is usefull if you make programs for ANSI/MBCS and UNICODE charsets.

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
David Lowndes - 18 Sep 2004 10:59 GMT
>why use '_tmain()' as entry point of the program in a console-application ?
>
>why is _tmain() used instead of main() ?
>_tprintf() instead of printf() ?
>
>why '_t' ?
Chris,
Have a look at the topic titled "Using Generic-Text Mappings" in MSDN.
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq