02 2016 档案
摘要:char* 到 LPCTSTR 转换 char *m_str = "test!"; MessageBoxW(CString(m_str)); CString to LPCTSTR CString s( "abcd" ); LPTSTR p = s.GetBuffer( 10 );
阅读全文
摘要:C/C++ code //创建一个文本文件并写入信息 //同向屏幕上输出信息一样将信息输出至文件 #include<iomanip.h> #include<fstream.h> void main() { ofstream f1("d:\\me.txt"); //打开文件用于写,若文件不存在就创建它
阅读全文
摘要:c++ 调用DLL函数,出现错误 Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a fu
阅读全文
浙公网安备 33010602011771号