1. Trang chủ
  2. » Công Nghệ Thông Tin

addison wesley c gotchas avoiding c by stephen c dewhu 2938

7 6 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Avoiding C by Stephen C Dewhu
Trường học Addison-Wesley Professional
Chuyên ngành Computing
Thể loại Book
Năm xuất bản 2938
Định dạng
Số trang 7
Dung lượng 48,37 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Basics Gotcha #1: Excessive Commenting Gotcha #2: Magic Numbers Gotcha #3: Global Variables Gotcha #4: Failure to... Distinguish Overloading from Default Initialization Gotcha #5: Misund

Trang 2

Main Page

Table of content

Copyright

Addison-Wesley Professional Computing Series

Preface

Acknowledgments

Chapter 1 Basics

Gotcha #1: Excessive

Commenting

Gotcha #2: Magic Numbers Gotcha #3: Global Variables Gotcha #4: Failure to

Trang 3

Distinguish Overloading from Default Initialization

Gotcha #5: Misunderstanding References

Gotcha #6: Misunderstanding Const

Gotcha #7: Ignorance of Base Language Subtleties

Gotcha #8: Failure to

Distinguish Access and

Visibility

Gotcha #9: Using Bad Language Gotcha #10: Ignorance of Idiom Gotcha #11: Unnecessary

Trang 4

Cleverness

Gotcha #12: Adolescent

Behavior

Chapter 2 Syntax

Gotcha #13: Array/Initializer Confusion

Gotcha #14: Evaluation Order Indecision

Gotcha #15: Precedence

Problems

Gotcha #16: 'for' Statement Debacle

Gotcha #17: Maximal Munch Problems

Trang 5

Gotcha #18: Creative

Declaration-Specifier Ordering Gotcha #19: Function/Object Ambiguity

Gotcha #20: Migrating Type-Qualifiers

Gotcha #21: Self-Initialization Gotcha #22: Static and Extern Types

Gotcha #23: Operator Function Lookup Anomaly

Gotcha #24: Operator '->'

Subtleties

Chapter 3 The Preprocessor

Trang 6

Johnson, and John Vlissides Design

Patterns, Addison-Wesley, 1995.

Nicolai Josuttis The C++ Standard

Library, Addison-Wesley, 1999.

Robert Martin Agile Software

Development, 2nd ed., Prentice Hall,

2003.

Scott Meyers Effective C++, 2nd ed.

Addison-Wesley, 1998.

Effective STL, Addison-Wesley, 2001.

More Effective C++,

Addison-Wesley, 1996.

Stephen C Dewhurst and Kathy T Stark.

Trang 7

Programming in C++, 2nd ed.,

Prentice-Hall, 1995.

William Strunk and E B White The Elements of Style, 3d ed., Macmillan,

1979.

Herb Sutter More Exceptional C++,

Addison-Wesley, 2002.

E B White Writings from The New

Yorker, HarperCollins, 1990.

Ngày đăng: 04/12/2022, 14:33

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w