Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Industrial Strength C++ Taking the point of view that good rules make good programs, this text presents proven strategies for using and programming in the C++ object-oriented language in the form of easy-to-follow lists of rules and recommendations. | Industrial Strength C Mats Henricson Erik Nyquist Prentice-Hall PTR Copyright 1997 Mats Henricson Erik Nyquist and Ellemtel Utvecklings AB Published by Prentice Hall PTR All rights reserved. ISBN 0-13-120965-5 Contents Naming 1 Meaningful names 2 Names that collide 5 Illegal naming 8 Organizing the code 11 Comments 19 Control flow 25 Object Life Cycle 31 Initialization of variables and constants 32 Constructor initializer lists 35 Copying of objects 38 Conversions 47 The class interface 55 Inline functions 56 Argument passing and return values 58 Const Correctness 66 Overloading and default arguments 74