#define SI_UTF8_SIGNATURE "\xEF\xBB\xBF" 这是带标记UTF-8编码文件的标识
#ifdef _WIN32
# define SI_NEWLINE_A "\r\n"
# define SI_NEWLINE_W L"\r\n"
#else // !_WIN32
# define SI_NEWLINE_A "\n"
# define SI_NEWLINE_W L"\n"
#endif // _WIN32
调用头文件
NSArray<AdminId>* SearchAdminDist( const wchar_t* keyWord,bool isTxtName);
编译头文件
NSArray<AdminId>* SearchAdminDist( wchar_t* keyWord,bool isTxtName);
Xtralogic
const 不能随便用
passing 'const GpsDataInterface' as 'this' argument of 'virtual int GpsDataInterface::ReadGPSData(char*, DWORD, DWORD&)' discards qualifiers
int CGpsModule::ReadGPSData( char *pBuf, DWORD size, DWORD &szRealRead )
{
GpsDataInterface * pIf1 = GetDataTextInstance();
Int32 nRet = -1;
nRet = pIf1->ReadGPSData(pBuf, size, szRealRead);
return nRet;
}