会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嗷嗷
程序员一定要谦卑。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2011年7月6日
[C/C++]Switch比if else快.
摘要: Switch比if else快
阅读全文
posted @ 2011-07-06 11:38 嗷嗷
阅读(2273)
评论(0)
推荐(0)
2011年7月4日
[C++]Partly Specialize member function in Class Templates
摘要: Partly Specializations of Class Templates is allowed
阅读全文
posted @ 2011-07-04 12:17 嗷嗷
阅读(219)
评论(1)
推荐(1)
[C++]Member functions are instantiated only when they are used
摘要: For class templates, member functions are instantiated only when they are used. This, of course, saves time and space.
阅读全文
posted @ 2011-07-04 11:48 嗷嗷
阅读(212)
评论(0)
推荐(0)
2011年7月2日
[C++]Template Argument Deduction: automatic type conversation is not allowed
摘要: automatic type conversation is not allowed in Template Argument Deduction
阅读全文
posted @ 2011-07-02 22:55 嗷嗷
阅读(309)
评论(0)
推荐(0)
C++ templete: "class" vs "typename" in a template-parameter
摘要: class和typename有啥区别呢?
阅读全文
posted @ 2011-07-02 15:20 嗷嗷
阅读(794)
评论(0)
推荐(0)
2011年6月30日
Good book for C++
摘要: The Definitive C++ Book Guide and List(http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list)
阅读全文
posted @ 2011-06-30 21:19 嗷嗷
阅读(263)
评论(1)
推荐(0)
C++0x learning: Sequencing rules of assignment.
摘要: i = ++i + 1; is well defined in C++0x.
阅读全文
posted @ 2011-06-30 12:10 嗷嗷
阅读(383)
评论(3)
推荐(0)
2011年5月16日
the address of vector
摘要: #include <vector>#include <iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ vector<int> v; v.push_back(123456); v.push_back(12); vector<int>::iterator iter; iter = v.begin(); int *p = iter.operator->(); vector<int> *pp = &v; cout<<"ad
阅读全文
posted @ 2011-05-16 10:50 嗷嗷
阅读(220)
评论(1)
推荐(0)
2011年3月24日
operator int*() vs int* operator ()()
摘要: class AA{public: operator int*() {return NULL;} int* operator ()() { return NULL;} int* operator ()(int k) {return NULL;} };int main(){ AA a; int *p; p = a; p = a(); p = a(2); return 0;}
阅读全文
posted @ 2011-03-24 12:09 嗷嗷
阅读(866)
评论(3)
推荐(1)
2011年1月18日
2011鸟语养成计划
摘要: 鸟语又一次成为我生命中不可承受之痛。已经是一个不得不解决的问题了。计划很简单: 每天两个小时,坚持一年。什么学习方法都是浮云,只要记住两条,不要看任何中文,练听力不要看原文。
阅读全文
posted @ 2011-01-18 12:10 嗷嗷
阅读(292)
评论(6)
推荐(2)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页