--%>

Function of TCHAR used in Windows Programming

Write down a program to show the function of TCHAR used in Windows Programming?

E

Expert

Verified

a. TCHAR is the data type which is used in Unicode for the generic character data type.

b. It is used to hold the 1-byte ASCII characters which are standard format for the characters.

c. It also uses 2-byte Unicode character to use the macro and the data type which have a similar manner on all the platforms.

d. Program are as follows-

#ifdef UNICODE
#define TCHAR WORD
#else
#define TCHAR BYTE
#endif

   Related Questions in Programming Languages

  • Q : Explain One Dimensional array One

    One Dimensional array:1) An array is a continuous memory location having similar kind of data in a single row or single column. Declaration in c++ is as under: const int size = 20;int a[size] or int a[2

  • Q : What is Catch clause Catch clause : It

    Catch clause: It is a part of a try statement accountable for handling the caught exception.

  • Q : Swapping system What action of the

    What action of the swapping system does in case it identifies the illegal page for the swapping?

  • Q : Define Final variable Final variable :

    Final variable: A variable with final reserved word in its declaration. The final might not assigned to once it has been initialized. Initialization frequently occurs as a part of its declaration. Though, the initialization of an uninitialized final f

  • Q : Define Deep copy Deep copy : It is a

    Deep copy: It is a copy of an object in which copies of all the object's sub-components are also prepared. The resultant object may, in effect, be a clone of the novel.

  • Q : Risks associated while porting a c pre

    Q. 1 Explain number of issues which are faced while porting a c pre processor in java. These issues always have the probability that the code will show errors while trying to execute the code in java.  Q.2 : Software Requirement Specification or Requirements for the studen

  • Q : How Does Run time data handled into QTP

    How Does Run time data i.e. Parameterization is handled within QTP?

  • Q : Define Applet Applet : The Applets are

    Applet: The Applets are Java programs based on the Applet or JApplet classes. They are closely related with the capability to give active content within the Web pages. They have numerous features that differentiate them from ordinary Java graphical ap

  • Q : What is Linux Write down about Linux?

    Write down about Linux?

  • Q : Acknowledge inside a transaction Normal

    Normal 0 false false