C++完全参考手册

出版时间:2005-1  出版社:第1版 (2005年1月1日)  作者:Herbert Schildt  页数:1008  
Tag标签:无  

内容概要

本书作者Herbert Schildt是程序设计语言的大师,其著作涉及C、C++、Java和C#等语言。    本书以一种清晰而易懂的方式,全面介绍了C++语言的各个方面,如关键字、语法、函数、类和库,以及一些C++高级特性,如重载、继承、虚拟函数、命名空间、模板、RTTI(运行时类型信息),以及STL(标准模板库)等。读者不仅可以从本书中学习到程序设计所需的语言知识,而且还可以了解如何进行程序设计。    本书适合作为C++语言的教学用书。本书介绍的内容适用于所有现代编程环境,适合于各种水平的C++程序设计人员。本书既可以作为帮助初学者解答特定问题的参考指南,也可以让C++编程高手从中发现许多有用功能的深入介绍。

书籍目录

Part I The Foundation of C++: The C Subset  1 An Overview of C    The Origins and History of C    C Is a Middle-Level Language    C Is a Structured Language    C Is a Programmer's Language    The Form of a C Program    The Library and Linking    Separate Compilation    Understanding the .C and .CPP File Extensions.  2 Expressions    The Five Basic Data Types    Modifying the Basic Types    Identifier Names    Variables      Where Variables Are Declared      Local Variables      Formal Parameters      Global Variables    The const and volatile Qualifiers      const      volatile    Storage Class Specifiers      extern      static Variables      register Variables    Variable Initializations    Constants      Hexadecimal and Octal Constants       String Constants      Backslash Character Constants    Operators      The Assignment Operator      Type Conversion in Assignments      Multiple Assignments      Arithmetic Operators      Increment and Decrement      Relational and Logical Operators      Bitwise Operators      The ? Operator      The & and * Pointer Operators      The Compile-Time Operator sizeof       The Comma Operator      The Dot (.) and Arrow (->) Operators      The [ ] and ( ) Operators      Precedence Summary    Expressions      Order of Evaluation      Type Conversion in Expressions      Casts      Spacing and Parentheses     Compound Assignments  3 Statements    True and False in C and C++    Selection Statements      if      Nested ifs      The if-else-if Ladder      The ? Alternative      The Conditional Expression      switch      Nested switch Statements    Iteration Statements      The for Loop      for Loop Variations      The Infinite Loop      for Loops with No Bodies      The while Loop      The do-while Loop    Declaring Variables Within Selection and Iteration Statements    Jump Statements      The return Statement      The goto Statement      The break Statement      The exit( ) Function      The continue Statement    Expression Statements    Block Statements  4 Arrays and Null-Terminated Strings    ……  5 Pointers  6 Functions  7 Structures, Unions, Enumerations,and User-Defined Types  8 C-Style Console I/O  9  File I/O  10  The Preprocessor and CommentsPart II C++  11 An Overview of C++  12 Classes and Objects  13  Arrays,PointersmReferences,and the Dynamic Allocation Operators  14 Function Overloading, Copy Constructors,and Default Arguments  15 Operator Overloading  16 Inheritance  17 Virtual Functions and Polymorphism  18 Templates  19 Exception Handling  20 The C++ I/O System Basics  21 C++ File I/O  22 Run-Time Type ID and the Casting Operators   23 Namespaces, Conversion Functions,  24 Introducing the Standard Template LibraryPart III The Standard Function Library  25  The C-Based I/O Functions  26 The String and Character Functions  27 The Mathematical Functions  28 Time, Date, and Localization Functions  29 The Dynamic Allocation Functions  30 Utility Functions  31 The Wide-Character FunctionsPart IV  The Standard C++ Class Library  32  The Standard C++I/O Classes  33 The STL Container Classes  34 The STL Algorithms  35 STL Iterators, Allocators, and Function Objects  36 The String Class  37 The Numeric Classes  38 Exception Handling and Miscellaneous ClassesPart V Applying C++  39 Integrating New Classes: A Custom String Class  40 Parsing ExpressionsA The .NET Managed Extensions to C++B C++ and the Robotics Age

图书封面

图书标签Tags

评论、评分、阅读与下载


    C++完全参考手册 PDF格式下载


用户评论 (总计5条)

 
 

  •   很不错,知识点比较全,适合有一定的C++基础的人使用,可以作为参考书使用,也可以作为全面回顾和整理C++相关知识点来用。不错。
  •   书是好书,但是邮递太慢了啊
  •   alittlebitthickforme,butlooksnotbad
  •   来的时候,我刚打开这本书,然后就成两半了。哎,这么厚的书,怎么装订的这么差,影响心情。
  •   书有点太厚了,买回后我轻轻撤了
    下就把书皮给搞掉了;买过来当参
    考书用的,现在书还没看。
 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7