自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (25)
  • 收藏
  • 关注

原创 Local, global, free variables in Python

xx

2013-11-30 11:27:10 1494

转载 10 Python pitfalls - Python idioms, 4 of n

(or however many I'll find ;-)These are not necessarily warts or flaws; rather, they are (side effects of) language features that often trip up newbies, and sometimes experienced programmers. Incomp

2013-11-30 10:49:13 1260

原创 VIM IDE for C++

1) Build and install the latest VIM from source.Refer to https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source2) Install vundle (Vim Bundle) for VIMhttps://github.com/gmarik/

2013-11-29 18:03:36 2243

转载 Code Like a Pythonista: Idiomatic Python - Python idioms, 3 of n

Code Like a Pythonista: Idiomatic PythonContentsThe Zen of Python (1)The Zen of Python (2)Coding Style: Readability CountsPEP 8: Style Guide for Python CodeWhitespace 1Whitespace 2NamingLo

2013-11-28 14:54:01 1498

原创 Move semantics/theory - C++11, 26 of n

std:move() unconditionally converts an lvalue or rvalue to an rvalue.std:forward() forwards the argument passed in exactly the same type as it is. May be lvalue or rvalue (perfect forwarding).When ove

2013-11-18 23:57:10 895

原创 Guidelines - C++11, 25 of n

Use unique_ptr, shared_ptr, vector, string to manage resourcesReturn locals by value. Don't return by const valueExamples:const string foo() { return "foo"; } // deprecated since C++11 because i

2013-11-18 15:11:55 931

原创 Pay close attention to manage multiple resource in one object - C++11, 24 of n

if constructor (at any point, say in the body of constructor) throws, the object's desctructor will NEVER be invoked, because the compiler can't tell what's the state of the object under construction

2013-11-18 14:25:57 1014

原创 Inheritance is the base class of evil (Sean Parent)

#include #include #include #include #include using namespace std;templatevoid draw(const T& x, ostream& out, size_t pos) {    out }class object_t {public:    template

2013-11-18 11:42:51 1181

原创 Inheriting constructors - C++11, 23 of n

Inheriting constructorsusing-declaration that names a constructor implicitly declaresa set of inheriting constructors. The candidate set of inherited constructors from the class X named in the

2013-11-17 14:51:49 1196

原创 Special member functions (copy/move assignment) - C++11, 22 of n

copy/move assignmentA user-declared copy assignment operator X::operator= is anon-static non-template member function of class X withexactly one parameter of typeX, X&, const X&, volatile

2013-11-17 12:12:22 1333

原创 Special member functions (copy/move constructor) - C++11, 21 of n

Copying and MovingDuring object construction (constructor), be very careful the objects referenced have been fully initialized.In constructor/destructor, pay close attention to calling "virtual

2013-11-16 23:39:40 1749

原创 Initialization - C++11, 20 of n

InitializationIf a given non-static data member has both a brace-or-equal-initializer and a mem-initializer, the initialization specified by the mem-initializer is performed, and the non-static

2013-11-16 21:33:22 962

原创 Special member functions (destructor) - C++11, 19 of n

A destructor is used to destroy objects of its class type. The address of a destructor shall not be taken. A destructor can be invoked for a const, volatile or const volatile object.const and vola

2013-11-16 17:57:38 973

原创 Conversion - C++11, 18 of n

1) Conversion Constructorstruct X {    X(int);    X(const char*, int =0);    X(int, int);};void f(X arg) {    X a = 1; // a)    X b = "Jessie";  // b)    a = 2; // a = X(2)

2013-11-16 15:10:43 1005

原创 Temporaries - C++11, 17 of n

1) struct S {S();S(int);friend S operator+(const S&, const S&);~S();};const S& cr = S(16)+S(23);The temporary result of "S(16) + S(23)" bound to "cr" persists until the end life of "cr

2013-11-14 22:28:21 867

原创 find out gcc/clang head file search paths

ghost@ubuntu:~/work/test$ gcc-4.8  -v -x c++ /dev/null -fsyntax-onlyUsing built-in specs.COLLECT_GCC=gcc-4.8COLLECT_LTO_WRAPPER=/usr/gcc48/libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper

2013-11-14 19:05:57 2125

原创 Special member functions (constructor) - C++11, 16 of n

Special member functions:default constructorcopy constructorcopy assignment operatorMove constructorMove assignment operatorConstructorsA constructor can be invoked for a const, volatile o

2013-11-14 16:35:26 1216

原创 Compile gcc4.8 on Ubuntu 12.04 LTS X64

1)  Download gcc-4.8 source code from one of the server in http://gcc.gnu.org/mirrors.html. say:wget http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.2/gcc-4.8.2.tar.bz2.tar.bz22)

2013-11-09 21:06:19 1713

MPEG-4 ISO 标准 ISO/IEC14496-3 part3

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第三部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-3 part2

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第一部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-3 part1

MPEG-4 ISO 标准 ISO/IEC14496-3,因为文件太大,需分三卷压缩上传,这是第一部分,研究MPEG-4的朋友耐心下载

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-15

MPEG-4 ISO 标准 ISO/IEC14496-15,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-14

MPEG-4 ISO 标准 ISO/IEC14496-14,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-12

MPEG-4 ISO 标准 ISO/IEC14496-12,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-6

MPEG-4 ISO 标准 ISO/IEC14496-6,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-5

MPEG-4 ISO 标准 ISO/IEC14496-5,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-1 2004 third edition

MPEG-4 ISO 标准 ISO/IEC14496-2,研究MPEG-4的朋友必备

2009-02-26

MPEG-4 ISO 标准 ISO/IEC14496-2

MPEG-4 ISO 标准 ISO/IEC14496-2文档,研究MPEG-4的朋友必备

2009-02-26

用TCP/IP进行网际互联(卷1).part1

网络编程的经典书籍,强烈推荐。三卷都上传了,请下载的朋友注意。

2008-03-20

用TCP/IP进行网际互联(卷1).part2

网络编程的经典书籍,强烈推荐。三卷都上传了,请下载的朋友注意。

2008-03-20

用TCP/IP进行网际互联(卷3).part2

网络编程的经典书籍,强烈推荐。

2008-03-19

用TCP/IP进行网际互联(卷3).part1

网络编程的经典书籍,强烈推荐。第三卷分两个分卷压缩包上传此为第一部分。

2008-03-19

用TCP/IP进行网际互联(卷3).part1

网络编程的经典书籍,强烈推荐。第三卷分两个分卷压缩包上传此为第一部分。

2008-03-19

用TCP/IP进行网际互联(卷2)

网络编程的经典书籍,强烈推荐。三卷我都会上传,请关注。

2008-03-19

C++国际标准(C++ Standard)

C++国际标准,强烈推荐学习研究C++的朋友下载

2007-10-21

inside the c++ model 深度探索C++对象模型.part1.rar(中文版

c++牛书,推荐阅读

2007-10-12

inside the c++ model 深度探索C++对象模型.part1.rar(中文版)

深入c++系列,牛书,分两部分上传

2007-10-12

the c++ Standard library C++标准程序库—自修教程与参考手册.part4.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-12

the c++ Standard library C++标准程序库—自修教程与参考手册.part3.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-11

the c++ Standard library C++标准程序库—自修教程与参考手册.part2.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-11

the c++ Standard library C++标准程序库—自修教程与参考手册.part1.rar(中文版)

分四部分上传。上次上传了第一部分后,因网络原因不能上传第二部分。所以大家不要下以前那个版本。在次也向各位表示歉意。

2007-10-10

the c++ Standard libraryC++标准程序库—自修教程与参考手册.pdf(中文版)

应上传文件不能超过10MB,所以分卷上传

2007-10-07

C++ net programming using ACE

C++网络编程方便的经典书籍

2007-08-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除