大约有 37,000 项符合查询结果(耗时:0.0420秒) [XML]

https://www.tsingfun.com/ilife/idea/736.html 

6个变态的C语言Hello World程序 - 创意 - 清泛网 - 专注C/C++及内核技术

... #define _(a) ________(a); #define ______ _______(){ #define __ ______ _(0x48)_(0x65)_(0x6C)_(0x6C) #define ___ _(0x6F)_(0x2C)_(0x20)_(0x77)_(0x6F) #define ____ _(0x72)_(0x6C)_(0x64)_(0x21) #define _____ __ ___ ____ _________ #include<stdio.h> _____ hello2.c #include<stdio.h> main()...
https://www.tsingfun.com/it/cpp/967.html 

ATL创建的ActiveX(COM组件)实现JS回调 - C/C++ - 清泛网 - 专注C/C++及内核技术

...L,FALSE); if(dlgFile.DoModal() == IDOK) { avarParams[0] = dlgFile.GetPathName(); } DISPPARAMS params = { avarParams, NULL,1,0 }; if(spCallback) spCallback->Invoke(0, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_MET...
https://www.tsingfun.com/it/cpp/1359.html 

C++中判断文件、目录是否存在的几种方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

... void ) { // Check for existence. if( (_access( "crt_ACCESS.C", 0 )) != -1 ) { printf_s( "File crt_ACCESS.C exists.\n" ); // Check for write permission. // Assume file is read-only. if( (_access( "crt_ACCESS.C", 2 )) == -1 ) printf_s( ...
https://www.tsingfun.com/it/cpp/1493.html 

SHFileOperation 这个API函数怎么用起来结果飘忽不定? - C/C++ - 清泛网 -...

...法有时不起作用,用起来结果飘忽不定,路径末尾加上' 0'也一样,笔者亲测,删除有时成功有时失败。解决:改用C++...SHFileOperation方法有时不起作用,用起来结果飘忽不定,路径末尾加上'\0'也一样,笔者亲测,删除有时成功有...
https://www.tsingfun.com/it/cpp/1495.html 

VC/Linux C++ 递归访问目录下所有文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...ILE_ATTRIBUTE_DIRECTORY) { if(FindFileData.cFileName[0]!='.') { strcpy(szFile,lpPath); strcat(szFile,"\\"); strcat(szFile,FindFileData.cFileName); find(szFile); } } e...
https://www.tsingfun.com/it/cpp/1616.html 

如何获取IE (控件)的所有链接(包括Frameset, iframe) - C/C++ - 清泛网 -...

...ction->get_length(&p); if(SUCCEEDED(hr)) for(int i=0; i<p; i++) { varindex.lVal = i; if(pFramesCollection->item(&varindex, &varresult) ==S_OK) { lpDispatch=(LPDISPATCH)varresult.ppdi...
https://www.tsingfun.com/it/cpp/2044.html 

Windows下如何判断Win32 or x64? - C/C++ - 清泛网 - 专注C/C++及内核技术

...< "_WIN32 is defined as " << _WIN32 << endl; #endif cin.get(); return 0; } 在 Win32 配置下,_WIN32 有定义,_WIN64 没有定义。在 x64 配置下,两者都有定义。即在 VC 下,_WIN32 一定有定义。 因此,WIN32/_WIN32 可以用来判断是否 Windows 系统(对...
https://www.tsingfun.com/it/cpp/2069.html 

C++虚析构函数解析 - C/C++ - 清泛网 - 专注C/C++及内核技术

...况发生。 以下内容转自: http://blog.sina.com.cn/s/blog_7c773cc50100y9hz.html a.第一段代码 #include<iostream> using namespace std; class ClxBase{ public: ClxBase() {}; ~ClxBase() {cout << "Output from the destructor of class ClxBase!" << endl;}; void DoSomethi...
https://www.tsingfun.com/ilife/tech/1112.html 

当当网第三季度净亏损2810万元 同比由盈转亏 - 资讯 - 清泛网 - 专注C/C++及内核技术

当当网第三季度净亏损2810万元 同比由盈转亏11月25日消息,当当网发布了截至2015年9月30日的2015财年第三季度未审计财报。财报显示,当当网第三季度总净营收为23.719亿元人民币(约合3.732亿美元),同比增长22.6%;净亏损为2810万元...
https://www.tsingfun.com/it/tech/649.html 

虚拟机ubuntu与宿主机NAT方式设定静态IP共享上网 - 更多技术 - 清泛网 - 专...

...主机NAT方式设定静态IP共享上网前阵子虚拟机安装Ubuntu 10.10后一直不能上网,折腾了好几天终于可以了,在这里写个记录备忘哈哈ubuntu安装参考   点击打开链接http: ...前阵子虚拟机安装Ubuntu 10.10后一直不能上网,折腾了好几...