
c/c++
文心叼虫
android 系统,性能,稳定性;linux kernel
展开
-
windows 下c11 thread试用,mingw+eclipse
c11对线程进行了支持。 遇到问题 1.eclipse不能启动,报错如下 eclipse启动不了 java was started but returned exit code=13 jdk 和eclipse软件不兼容,都选64位,解决 2.编译显示不支持c11 "This file requires compiler and library support f原创 2015-05-12 21:12:29 · 2240 阅读 · 0 评论 -
effective c++ 笔记之static_cast
尽量少用转型动作章节中讲到。子类执行的f并不是在当前对象上执行父类函数,只是在base class的副本上执行。那么 如下执行后,副本值被改写,而d的i依然是初始化时候的0 #include #include #include // std::cout #include // std::thread class B{ public : int i=0原创 2015-11-29 14:32:14 · 455 阅读 · 0 评论