--%>

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 : Data type conversion Data type

    Data type conversion: Conversion of one data type into the other data type. Two kind of conversion that is, A) Implicit Conversion: This is automatically taken care

  • Q : What are the examples of microkernel

    What are the examples of microkernel?

  • Q : Uses of BYTE Write a program that shows

    Write a program that shows the uses of BYTE, WORD and DWORD?

  • Q : Types of validation controls of ASP.NET

    List the types of validation controls that are available in the ASP.NET AJAX 4.0?

  • Q : Define the term XML Canonicalization

    Define the term XML Canonicalization?

  • Q : Determining group ID of new file

    Explain various options available in order to determine the group ID of new file?

  • Q : What is an Exception Exception : An

    Exception: An object symbolizing the occurrence of an exceptional circumstance - usually, something which has gone wrong in the smooth running of a program. Exception objects are made from classes which expand the Throwable class.

  • Q : Define the term core validation Define

    Define the term core validation?

  • Q : Explain the good illustrations of

    Explain the good illustrations of closing XHTML elements.

  • Q : "Const" qualifier for pointers and

    In C++ an arguments to a function can be declared as constant as shown below:

    Discover Q & A

    Leading Solution Library
    Avail More Than 1425491 Solved problems, classrooms assignments, textbook's solutions, for quick Downloads
    No hassle, Instant Access
    Start Discovering

    18,76,764

    1942301
    Asked

    3,689

    Active Tutors

    1425491

    Questions
    Answered

    Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!

    Submit Assignment

    ©TutorsGlobe All rights reserved 2022-2023.