Ktl-icon-tai-lieu

C++ in a nutshell

Được đăng lên bởi Tien Le
Số trang: 810 trang   |   Lượt xem: 5043 lần   |   Lượt tải: 1 lần
C++
IN A NUTSHELL





C++
IN A NUTSHELL

Ray Lischner

Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo



C++ in a Nutshell
by Ray Lischner
Copyright © 2003 O’Reilly Media, Inc. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly Media, Inc. books may be purchased for educational, business, or sales promotional
use. Online editions are also available for most titles (safari.oreilly.com). For more
information, contact our corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.

Editor:

Jonathan Gennick

Production Editor:

Matt Hutchinson

Cover Designer:

Ellie Volckhausen

Interior Designer:

David Futato

Printing History:
May 2003:

First Edition.

Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered
trademarks of O’Reilly Media, Inc. The In a Nutshell series designations, C++ in a Nutshell,
the image of an Eastern chipmunk, and related trade dress are trademarks of O’Reilly Media,
Inc. Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in this book, and O’Reilly
Media, Inc. was aware of a trademark claim, the designations have been printed in caps or
initial caps.
While every precaution has been taken in the preparation of this book, the publisher and
author assume no responsibility for errors or omissions, or for damages resulting from the use
of the information contained herein.

This book uses RepKover™ a durable and flexible lay-flat binding.
,
ISBN-10: 0-596-00298-X
ISBN-13: 978-0-596-00298-5
[M]

[5/07]



Chapter 1

Table of Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. Language Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Compilation Steps
Tokens
Comments
Character Sets
Alternative Tokens
Trigraphs

1
2
8
8
9
10

2. Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Declarations and Definitions
Scope
Name Lookup
Linkage
Type Declarations
Object Declarations
Namespaces

12
14
16
22
24
29
42

3. Expressions . . . . . . . . . . . . . . . . . . . ...
www.it-ebooks.info
C++ in a nutshell - Trang 2
Để xem tài liệu đầy đủ. Xin vui lòng
C++ in a nutshell - Người đăng: Tien Le
5 Tài liệu rất hay! Được đăng lên bởi - 1 giờ trước Đúng là cái mình đang tìm. Rất hay và bổ ích. Cảm ơn bạn!
810 Vietnamese
C++ in a nutshell 9 10 366