大约有 120 项符合查询结果(耗时:0.0032秒) [XML]

https://bbs.tsingfun.com/thread-778-1-1.html 

vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!

...nbsp;  FileOp.pTo = NULL;         if (SHFileOperation(&FileOp) != 0)                 printf("删除文件:%S失败(Error:%d)\n", delFileName, GetLastError());        &nb...
https://bbs.tsingfun.com/thread-829-1-1.html 

c++ 代码调用nsis安装包实现静默安装 - 脚本技术 - 清泛IT社区,为创新赋能!

...sp; sei.nShow = SW_SHOWNORMAL;         if (!ShellExecuteEx(&sei)) {                 DWORD dwStatus = GetLastError();                 if (dwStatus == ERROR_CANC...
https://bbs.tsingfun.com/thread-487-1-1.html 

Linux Shell脚本参数的获取方法 - 脚本技术 - 清泛IT社区,为创新赋能!

...般0成功,1失败 #!/bin/sh echo 'file name:' $0 echo 'param num: ' $# if [ $# -gt 1 ]; then echo 'the second param:' $2 fi ./param.sh file name: ./param.sh param num:  0 ./param.sh a file name: ./param.sh param num:  1 ./param.sh a b file name: ./param.sh param n...
https://bbs.tsingfun.com/thread-478-1-1.html 

C语言结构体里的成员数组和指针 - c++1y / stl - 清泛IT社区,为创新赋能!

...ain(int argc, char** argv) {     struct foo f={0};     if (f.a->s) {         printf( f.a->s);     }     return 0; } 你编译一下上面的代码,在VC++和GCC下都会在14行的printf处crash掉你的程序。@Laruence ...
https://bbs.tsingfun.com/thread-24-1-1.html 

mfc 按钮变成了非xp风格、界面变成windows经典样式? - C++ UI - 清泛IT社...

...xp风格          xp风格 stdafx.h中添加: #ifdef _UNICODE #if defined _M_IX86 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' ...
https://bbs.tsingfun.com/thread-889-1-1.html 

MFC中使用CSplitterWnd分割窗口后视图大小的问题 - C++ UI - 清泛IT社区,为创新赋能!

...要的结果。 CSize sizeDummy; m_wndSplitterH.CreateStatic(this, 2, 1); if (!m_wndSplitterH.CreateView(0, 0, RUNTIME_CLASS(CGraphFrame), sizeDummy, pContext))复制代码 这时,你可以: 1、设置一下m_wndSplitterH的SetRowInfo属性函数,如:m_wndSplitterH.SetRowInfo(0,100,0); &n...
https://bbs.tsingfun.com/thread-2369-1-1.html 

标签的“具有外边距”有啥用? - App Inventor 2 中文网 - 清泛IT社区,为创新赋能!

...tLayoutParams();     // The following instanceof check will fail if we have not previously     // added the label to the container (Why?)     if (lp instanceof ViewGroup.MarginLayoutParams) {       marginLayoutParams = (ViewGroup.MarginLayoutParams) ...
https://bbs.tsingfun.com/thread-761-1-1.html 

mfc spin control 用法 - C++ UI - 清泛IT社区,为创新赋能!

...ESSAGE_MAP(CxxDlg, CDialogEx)         ON_NOTIFY(UDN_DELTAPOS, IDC_SPIN_CHG, &CxxDlg::OnDeltaposSpinChg) END_MESSAGE_MAP() .h:afx_msg void OnDeltaposSpinChg(NMHDR *pNMHDR, LRESULT *pResult); .cpp: void CxxDlg::OnDeltaposSpinChg(NMHDR *pNMHDR, LRESULT *pResu...
https://bbs.tsingfun.com/thread-2252-1-1.html 

Arduino101(Genuino 101)&App Inventor – RGB LED控制 - 创客硬件开...

...xperimental-link-color)] Arduino 101 code重點在於 line 53~67 之間的if (LEDStatus.written())判斷式中,使用 incom = LEDStatus.value(); 來取得 App Inventor 送過來的整數值,並以 1000 為單位來拆開並顯示於 Serial Monitor,最後使用 analogWrite 指令去控制對...
https://bbs.tsingfun.com/thread-812-1-1.html 

C++字符串截断时中文的处理问题(中文被截断怎么处理?) - c++1y / stl - ...

// 防止后台错误消息中汉字双字节被截断出现乱码 if (pRspMsg->RspMsg.buf[pRspMsg->RspMsg.Length() - 2] & 0x80)          pRspMsg->RspMsg.buf[pRspMsg->RspMsg.Length() - 2] = 0; 一个字节和0x80与运算(& 0x80 )是否...