Effective C++ Notes】的更多相关文章

补充自己的. 转自:http://blog.csdn.net/ysu108/article/details/9853963#t0 Effective C++ 笔记 目录(?)[-] 第一章 从C转向C 条款1尽量用const和inline而不用define 条款2尽量用iostream而不用stdioh 条款3尽量用new和delete而不用malloc和free 条款4尽量使用c风格的注释 第二章 内存管理 条款5对应的new和delete要采用相同的形式 条款6析构函数里对指针成员调用del…
Item 07 : 为多态基类声明virtual析构函数 #include <iostream> using namespace std; class Base { public: Base() : bValue() {} virtual ~Base() { cout << "Base destructor" << endl; } // ~Base() { cout << "Base destructor" <&…
leetcode http://www.cnblogs.com/TenosDoIt/tag/leetcode/ http://tech-wonderland.net/category/algorithm/leetcode http://www.cnblogs.com/sunshineatnoon/category/565768.html http://www.cnblogs.com/codemylife/category/567931.html http://www.cnblogs.com/re…
1. Literal Syntax NSString *someString = @"Effective Objective-C 2.0"; NSNumber *someNumber = [NSNumber numberWithInt:1]; <=> NSNumber *someNumber = @1; // syntax also works for expressions int x = 5;float y = 6.32f;NSNumber *expressionNum…
Hi guys, I am happy to tell you that I am moving to the open source world. And Java is the 1st language I have chosen for this migration. It's a nice chance to read some great books like "Effective Java 2nd Edition" and share the note for what I…
By brant-ruan Yeah, I feel very happy When you want to give up, think why you have held on so long. Just fight. Somebody may ask you: Why would you want to do that? Yeah, because I want to know how it works. Assembly language programming is about mem…
The Acceptance Test Engineering Guide will provide guidance for technology stakeholders (developers, development leads, testers, test leads, architects, etc.) and business stakeholders (managers, customers, end users, etc) on the discipline of accept…
loveincode's notes 学习工作中的一些记录,收藏. 人气很高的链接库 计算机基础相关笔记 操作系统 , 编译原理 , 计算机网络 , 互联网协议... 常用数据结构与算法 Java 实现 数据结构 与 排序算法 常用设计模式 单例模式 , 工厂模式 , 装饰者模式 , 代理模式 ... Java基础核心 JVM , 集合 , 类型 ,关键字... Java高级特性 多线程.锁.并发 框架 Spring , Mybatis , SpringBoot , SpringMVC ...…
What is O_DIRECT Starting with kernel 2.4, Linux allows an application to bypass the buffer cache when performing disk I/O, thus transferring data directly from user space to a file or disk device. This is sometimes termed direct I/O or raw I/O. Dire…
高性能服务器设计(Jeff Darcy's notes on high-performance server design 我想通过这篇文章跟大家共享一下我多年来怎样开发“服务器”这类应用的一些想法和观点(这类应用用名词“server”来表示,还是有点牵强). The purpose of this document is to share some ideas that I've developed over the years about how to develop a certain k…