自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

这里有我的足迹

我的程序人生

  • 博客(1)
  • 资源 (2)
  • 收藏
  • 关注

原创 我的c++异常编码规范

 一、在c++模块内部用异常而不是用返回值来报告错误;二、不要让c++异常穿越模块边界(标准的动态库,传统的导出c函数的那种);三、异常作为precondition的check比assert优秀,所以不要使用assert检查不变式(检测逻辑错误);四、返回值是很有用的传值通道,如非必要(比如说跨越模块边界)还是用异常来抛出错误(返回非逻辑错误);五、逻辑错误是可以避免和调试改正

2007-11-01 18:00:00 714

The Definitive ANTLR Reference

This is a reference guide for ANTLR: a sophisticated parser generator you can use to implement language interpreters, compilers, and other translators.

2010-11-04

introduction to algorithm

不用说啥了,经典算法书籍英文原版 This book is one of a series of texts written by faculty of the Electrical Engineering and Computer Science Department at the Massachusetts Institute of Technology. It was edited and produced by The MIT Press under a joint production-distribution agreement with the McGraw-Hill Book Company.

2010-11-04

空空如也

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

TA关注的人

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