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

https://www.tsingfun.com/it/cp... 

‘std::tr1’ does not name a template type - C/C++ - 清泛网 - 专注C/C++内核技术

...扩展。即将到来的下一个版本的C++标准c++0x会包括它,以一些语言本身的扩充。tr1包括大家期待已久的smart pointer,正则表达式以其他一些支持范型编程的东东。草案阶段,新增的类和模板的名字空间是std::tr1。 stl tr1
https://www.tsingfun.com/it/cp... 

namespace “std” has no member “clamp” - C/C++ - 清泛网 - 专注C/C++内核技术

namespace “std” has no member “clamp”namespace-std-has-no-member-clamperror: ‘clamp’ is not a member of ‘std’namespace std has no member clampC++17特性,加编译选项 -std=c++17error: ‘clamp’ is not a member of ‘std’ namespace “std” h...
https://www.tsingfun.com/it/cp... 

【解决】asan runtime does not come first in initial library list - C/C...

【解决】asan runtime does not come first in initial library listasan-issue-with-asan-library-loading报错信息:ASan runtime does not come first in initial library list; you should eitherlink runtime to your applicationor manually preload it with L 报错信息: ASan runtime does not com...
https://www.tsingfun.com/it/cp... 

【解决】munmap_chunk(): invalid pointer - C/C++ - 清泛网 - 专注C/C++内核技术

【解决】munmap_chunk(): invalid pointermunmap_chunk-invalid-pointer原因:new malloc出来的指针被覆盖掉了,然后delete free就会报这个错误。例如:char* word = (char*)malloc(10);word = "abc"; 应使用 strcpy(word, "abc");free(word) 原因:new/malloc出来的指针被...
https://www.tsingfun.com/it/cp... 

【解决】double free or corruption (!prev) - C/C++ - 清泛网 - 专注C/C++内核技术

【解决】double free or corruption (!prev)double-free-or-corruption-prev*** glibc detected *** cupd: double free or corruption (!prev): 0x093b1208 ***可能原因:1、多次释放同一内存区,需要检查代码,是否出现了对同一内存区释放两 *** glibc detected *** ./cupd:...
https://www.tsingfun.com/it/cp... 

【解决】C、C++混合编译link失败问题 - C/C++ - 清泛网 - 专注C/C++内核技术

【解决】C、C++混合编译link失败问题c_cpp_mixed_compileC、C++混合编译时,C头文件不加 extern "C",函数按照C++编译会改变函数名称,导致link时报undefined reference to `xxx` 的 错误。加 extern "C" 解决,但是直接加的话 C、C++混合编译时,C...
https://www.tsingfun.com/it/cp... 

Intel SMID指令集编译错误: inlining failed in call to always_inline \'x...

Intel SMID指令集编译错误: inlining failed in call to always_inline 'xxx': target specific option mismatch xxxintel_smid_compile_error最近在使用CPU指令集优化代码的时候,编译出错,报错如下: usr lib64 gcc x86_64-suse-linux 7 include avx2intrin h:252:1: error: inlining ...
https://www.tsingfun.com/it/os_kernel/405.html 

Linux ftp上传文件 实战篇 - 操作系统(内核) - 清泛网 - 专注C/C++内核技术

Linux ftp上传文件 实战篇$ftp passive ls put get等Linux命令完成ftp文件上传下载。连接FTP命令: $ftp xx.xx.xx.xx username password ftp> passive (需要关闭passive模式,不然上传不了) 查看远程FTP服务器文件命令: ftp> ls 若ls卡住...
https://www.tsingfun.com/it/te... 

【解决】VNC:No configured security type is supported by 3.3 viewer - ...

【解决】VNC:No configured security type is supported by 3.3 viewerno-configured-security-type-is-supported-by-3.3-vnc-viewer远端机器安装了RealVNC的服务端后,客户端机器连接报错:No configured security type is supported by 3 3 viewer。解决方法:1、远端机器RealVNC...
https://www.tsingfun.com/it/da... 

【解决】mysql_real_connect: Can\'t connect to local MySQL server throu...

【解决】mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock'cant-connect-to-local-mysql-server-through-socket-tmp-mysql-sockmysql_real_connect: Can& 39;t connect to local MySQL server through socket & 39; tmp mysql sock& 39;解决方法(挨个试):1、ln...