|
问一下MFC42库函数中0CString,1CString是什么意思?
1是析构吧,0是构造 |
|
问一下MFC42库函数中0CString,1CString是什么意思?
一个是CString的构造函数,另一个是析构函数 |
|
修改窗口类求助
继承下那个类,然后做需要的修改 |
|
[原创]请版主帮我看看,我样汇编通不过!
你可以查下msdn Return Value The return value is the number of characters copied to the buffer, not including the terminating null character. 这个函数返回的就是字符串的长度 函数的参数中不是有个 LPTSTR lpReturnedString, // points to destination buffer 字符串是放在那里面的 |
|
问个CreateFileA函数的问题
If the function succeeds, the return value is an open handle to a specified file. If a specified file exists before the function call and dwCreationDisposition is CREATE_ALWAYS or OPEN_ALWAYS, a call to GetLastError returns ERROR_ALREADY_EXISTS, even when the function succeeds. If a file does not exist before the call, GetLastError returns 0 (zero). If the function fails, the return value is INVALID_HANDLE_VALUE. To get extended error information, call GetLastError. |
|
32位的汇编在子程序里,怎么定义一个不定的字节数组,怎么使用他
最初由 pengmo 发布 CFile cfile; CFileException e; char* pFileName = "test.dat"; char *pbuf = null; UINT nBytesRead = 0; ULONGLONG dwLength = pFile->GetLength(); if( !cfile.Open( pFileName, CFile::modeCreate | CFile::modeWrite, &e ) ) { TCHAR szError[1024]; ex.GetErrorMessage(szError, 1024); cout << "Couldn't open source file: "; cout << szError; return 1; } else { dwLength = cfile.GetLength(); pbuf = new char[dwLength]; nBytesRead = cfile.Read( pbuf, dwLength ); } delete[] pbuf; cfile.Close(); |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值