Click here to Skip to main content
12,450,089 members (42,471 online)
Click here to Skip to main content

Stats

503.3K views
288 bookmarked
Posted

What are TCHAR, WCHAR, LPSTR, LPWSTR, LPCTSTR (etc.)?

, 19 Apr 2012 CPOL
Many Windows C++ programmers get confused over what bizarre data type identifiers like TCHAR and LPCTSTR are. Here, in brief, I will try to clear out the fog.

Revisions


  

Compare Revision Minor Date Status Editor
15 - publicly available No 19-Apr-12 13:42 Available Smitha Nishant
14 No 6-Apr-12 10:58 Available Ajay Vijayvargiya
13 No 27-Mar-12 11:43 Available Ajay Vijayvargiya
12 No 20-Mar-12 1:47 Available Ajay Vijayvargiya
11 No 13-Mar-12 14:25 Available Ajay Vijayvargiya
10 No 12-Mar-12 13:37 Available Ajay Vijayvargiya
9 No 10-Mar-12 12:15 Available Ajay Vijayvargiya
8 No 5-Feb-12 9:25 Available Deeksha Shenoy
7 No 27-Jan-12 17:13 Available Boffin_Boy
5 No 16-Jan-12 14:20 Available Sean Ewington
4 No 1-May-10 11:45 Available Ajay Vijayvargiya
3 No 1-May-10 11:32 Composing Ajay Vijayvargiya
2 No 28-Apr-10 6:38 Composing Sauro Viti
1 No 27-Apr-10 23:09 Composing Ajay Vijayvargiya

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Ajay Vijayvargiya
Software Developer (Senior)
India India
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!

Touched COBOL and Quick Basic for a while.

Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.

I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 19 Apr 2012
Article Copyright 2012 by Ajay Vijayvargiya
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid