设为首页 加入收藏

TOP

Chapter 1:Accustoming Yourself to C++
2013-10-07 14:26:27 来源: 作者: 【 】 浏览:62
Tags:Chapter Accustoming Yourself

Regardless of your programming background, C++(www.cppentry.com) is likely to take a little getting used to. It’s a powerful language with an enormous range of features, but before you can harness that power and make effective use of those features, you have to accustom yourself to C++(www.cppentry.com)’s way of doing things. This entire book is about how to do that, but some things are more fundamental than others, and this chapter is about some of the most fundamental things of all.

每种语言都有它解决问题的方法,虽然最后都能殊途同归,但选择的方法不同,程序性能也千差万别。特定的方法可以最大地发挥语言的性能;有些方法则出于惯例。程序员与人交流合作,比如编写程序库供人使用,使用别人编写好的程序库,都需要遵从一定的惯例,这样才能减少沟通的成本。这些惯例背后都有其深厚的原因,并非一句话能够解释清楚。不幸的是,C++(www.cppentry.com)社区过于庞大,并非所有的意见都有统一的结论。


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Item 1: View C++ as a federatio.. 下一篇Item 3: Use const whenever poss..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: