C++
pltc325
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
masterminds of programming 翻译 (二)
Why did you choose to support multiple paradigms?为什么您选择支持不同的编程范式?Bjarne: Because a combination of programming styles often leads to the best code, where“best” means code that most directly expresses the design, runs faster, is most maintainable,etc. When p翻译 2011-05-26 10:00:00 · 519 阅读 · 0 评论 -
masterminds of programming 翻译 (一)
最近在看《masterminds of programming》,觉得写的很不错。自己偏C++方向,所以想把C++这部分翻译出来,一来分享知识,二来记录自己所学。翻译 2011-05-25 09:35:00 · 548 阅读 · 0 评论 -
masterminds of programming 翻译 (四)
What do you mean by “value semantics” and “general resource management”?您刚才说的值语义和综合资源管理是指什么?Bjarne: “Value semantics” is commonly used to refer to classes where the objects have the property that when you copy one, you get two independent copies (with the翻译 2011-05-30 06:58:00 · 354 阅读 · 0 评论 -
masterminds of programming 翻译 (五)
Using the Language使用语言How do you debug? Do you have any suggestion for C++ developers?您是如何调试程序的?你对C++开发者有什么建议吗?Bjarne: By introspection. I study the program for so long and poke at it more or less systematically for so long that I have sufficient understan翻译 2011-05-30 07:04:00 · 340 阅读 · 0 评论 -
masterminds of programming 翻译 (三)
One fundamental difference between C++ and Java is the way pointers are implemented. In some ways, you could say that Java doesn’t have real pointers. What differences are there between the two approaches?C++和Java一个根本区别在于其指针的实现。从某种程度上你可以说Java没有真正的指针。那么这里这两翻译 2011-05-27 10:16:00 · 373 阅读 · 0 评论 -
bbbbbbbbbbbbbbbb
ret = [] res = [] def combine(list_digits,num,index): length = len(list_digits) if num == length: return ret.append(list_digits[:]) for i in range(index,length): res原创 2012-06-11 17:35:48 · 537 阅读 · 0 评论 -
aaaaaaaaaaaaaaaa
import sys #for i in range(0,length): for i in range(5683,length): p = list_primes[i] len_except_last = len(tools.int_to_list_digits(p)) - 1 if len_except_last continue原创 2012-06-11 17:33:46 · 405 阅读 · 0 评论
分享