LPCSTR中的L是什么意思?
还有VC中字符串操作函数有哪些?
DWORD和int有什么区别?false和FALSE有什么区别?

解决方案 »

  1.   

    1、应该是指针
    2、vc有一个类 CString
    3、DWORD比int 在内存站的字节数多一倍
    false  FALSE 没区别
      

  2.   

    LPCSTR是一种数据类型,一般LP表示指针的意思
    VC中的CString类中,有很多字符操作函数,标准C里面的函数也可以使用
    DWORD为4位,int为2位,false和FALSE当然有区别拉,大小写不一样嘛,哈哈
      

  3.   

    P是point的意思
    但是L是什么意思?
    还有C又是什么意思?
      

  4.   

    L应该是long的意思,也就是32位。
    DWORD是32位的无符号整型,int是由符号的
    false是bool型,bool型在vc++4.2之前是占4个字节的,在vc++5.0及以后版本中只占1个字节。
    FALSE是BOOL型,BOOL型则是无符号32位整型
      

  5.   

    LPCSTR: a Long(32-bit) Pointer to A Constant character STRing
    DWORD 是 unsigned long。false 和 FALSE的实际意义时一样的。
    LPCTSTR   A 32-bit pointer to a constant character string that is portable for Unicode and DBCS.
      

  6.   

    TCHAR
    The TCHAR data type is a Win32 character string that can be used to describe ANSI, DBCS, or Unicode strings. For ANSI and DBCS platforms, TCHAR is defined as follows:typedef char          TCHAR;  
      
    For Unicode platforms, TCHAR is defined as synonymous with the WCHAR type. Res
    MAPI clients can use the TCHAR data type to represent a string of either the WCHAR or char type. Be sure to define the symbolic constant UNICODE and limit the platform where necessary. MAPI will interpret the platform information and internally translate TCHAR to the appropriate string. The MAPI property type, PT_TSTRING, works the same way as the TCHAR data type. When the platform supports Unicode, properties of type PT_TSTRING are assigned the type PT_UNICODE at compile time. When the platform does not support Unicode, these properties are assigned the type PT_STRING8.For more information on this functionality, see Character Sets and List of Property Types.