大约有 4,530 项符合查询结果(耗时:0.0103秒) [XML]

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

C++如何利用模板实现多态? - c++1y / stl - 清泛IT社区,创新赋能!

研究中。。。
https://bbs.tsingfun.com/thread-868-1-1.html 

未能从“const std::string”“const std::_Tree<_Traits> &”...

http://blog.csdn.net/mfcing/article/details/44157227
https://bbs.tsingfun.com/thread-859-1-1.html 

VS工程“生成事件”之文件拷贝 - c++1y / stl - 清泛IT社区,创新赋能!

有时工程下面引用了lib文件,但是编译Debug/Release等版本时需要将dll拷至指定目录才能运行, 如果有多个编译版本需要拷贝多份,这样不便于维护(config等配置文件也是如此,最好不要弄多份副本)。 这时我们“在生成事件...
https://bbs.tsingfun.com/thread-858-1-1.html 

error LNK2019: 无法解析的外部符号 _Netbios@4,该符号在函数 中被引用 - c...

解决方法如下:Cpp文件include语句之后加上如下代码:#pragma comment(lib,"netapi32.lib")
https://bbs.tsingfun.com/thread-857-1-1.html 

error LNK2019: 无法解析的外部符号_socket,该符号在函数 中被引用 - c++1...

1>NetClient.obj : error LNK2019: 无法解析的外部符号 _closesocket@4,该符号在函数 _main 中被引用 1>NetClient.obj : error LNK2019: 无法解析的外部符号 _inet_ntoa@4,该符号在函数 _main 中被引用 1>NetClient.obj : error LNK2019: 无法解析的外部符...
https://bbs.tsingfun.com/thread-855-1-1.html 

register int i;的含义 - c++1y / stl - 清泛IT社区,创新赋能!

register声明的作用是了提高效率。 它明确要求CPU把变量始终保存在寄存器里面,直至它消亡。 不过现代编译器都很厉害,根本不需要你多此一举。 所以根本就极少用。大多数情况下,你声明了也没有用,因编译器不会...
https://bbs.tsingfun.com/thread-827-1-1.html 

error LNK2019: 无法解析的外部符号 _GetFileVersionInfoSizeW@8,该符号在...

GetFileVersionInfoSize build时出现link2019 链接错误: #pragma comment(lib, "version") 解决。
https://bbs.tsingfun.com/thread-816-1-1.html 

c++读注册表 - c++1y / stl - 清泛IT社区,创新赋能!

CString key; key.Format(_T("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\xxx")); HKEY hKey; LONG rc = RegOpenKey(HKEY_LOCAL_MACHINE, key, &hKey); if (ERROR_SUCCESS == rc) {         WCHAR szBuffer[MAX_PATH];        &nbsp...
https://bbs.tsingfun.com/thread-782-1-1.html 

VC/Linux C++ 递归访问目录下所有文件 - c++1y / stl - 清泛IT社区,创新赋能!

VC函数,部分代码如下:find(char * lpPath) {     char szFind[MAX_PATH];     WIN32_FIND_DATA FindFileData;     strcpy(szFind,lpPath);     strcat(szFind,"\\*.*");     HANDLE hFind=::FindFirstFile(szFind,&FindFileData);   &...
https://bbs.tsingfun.com/thread-744-1-1.html 

warning C4996 - c++1y / stl - 清泛IT社区,创新赋能!

...warning C4996: strcpy was declared deprecated出现这样的警告,是因VC2005之后的版本中认CRT中的一组函数如果使用不当,可能会产生诸如内存泄露、缓冲区溢出、非法访问等安全问题。这些函数如:strcpy、strcat等。对于这些问题,VC2005...