网上购物 货比三家
您现在的位置:快乐比价网 > 图书 > 计算机与网络 > 程序设计 > 商品详情

C++专家导引(英文影印版)

分享到:
C++专家导引(英文影印版)

最 低 价:¥25.60

定 价:¥36.00

作 者:(美)Patrick Henry Winston

出 版 社:机械工业出版社

出版时间:2006 年1月

I S B N:7111166019

  • C++专家导引
  • 送货上门
  • 价格
    25.60元
    价格
    27.00元
    价格
    27.00元
    价格
    28.10元
    价格
    28.10元
    价格
    28.40元

    商品详情

    编辑推荐

    以一个简短且具代表性的C++程序体现关键概念是本书的一大特色。这个程序采用容器和有轨电车的知识来报告铁道运输的货运能力,从而体现了C++类抽象自然类的能力。

    内容简介

    如果你希望c++成为你驾驭的程序设计语言,如果你希望学习语言的精华并为编程实践做准备,如果你希望学到面向对象程序设计的优势,以及如何通过c++类层次结构的设计原理最大化这些优势,本书正是你的最佳选择。.
      以一个简短且具代表性的c++程序体现关键概念是本书的一大特色。这个程序采用容器和有轨电车的知识来报告铁道运输的货运能力,从而体现了c++类抽象自然类的能力。..
       书中用类概念编写的程序体现了如何创建类和对象;如何定义构造函数、阅读器(reader)和写入器(writer)函数;如何发挥数据抽象的优势;如何继承成员变量值和成员函数;在运行时如何创建新的类对象;在运行时如何定位正确的函数;在类的层次结构中如何使用构造函数;如何使用保护、私有成员变量和成员函数;如何使用保护和私有的类派生;如何设计类的层次结构:如何采用模板重用类的定义,等等。...

    作者简介

    Patrick Henry Winston 麻省理工学院人工智能和计算机科学教授。他在人工智能领域十分著名,著有多部思路清晰且见解独到的专著。除本书外,他还著有《On to C》、《On to Java2》(Java2专家导引,该书影印版由机械工业出版社引进出版)、《Artificial Intelligence》等书。...
    .. << 查看详细

    目录

    1 how this book teaches you the language
    why you should learn c++
    object-oriented programming languages
    procedure-oriented programing languages
    programming cliches.
    2 how to compile and run a simple program
    compiling, linking, and executing
    statements and declarations
    the output operator, [[, and character strings
    case sensitivity and blank ihsensitivity
    operators and operands
    3 how to declare variables
    data types and variable declarations
    initialization and assignment
    integral data types
    4 how to write arithmetic expressions
    arithmetic
    precedence and association
    binary and unary operators
    type casting
    .5 how to write statements that read information from your keyboard
    the input operator, ]]
    input redirection
    6 how to define simple functions
    calling and returning from functions
    arguments, parameters, and values
    function overloading7how to benefit from procedure abstraction
    making programs easier to reuse, read, and debug
    making programs easier to augment, improve, and adapt
    8how to work with local and global variables
    extent and scope
    local, static, and global variables
    compound statements
    9 how to create classes and objects
    user-defined data types, classes, and objects
    class specification and member variables
    the class-member operator
    10 how to define member functions
    the special, class-object argument
    member function prototypes
    the class-scope operator,::
    11 how to define constructor member functions
    the default constructor
    argument-bearing constructors
    12 how to define reader and writer
    member functions
    reader and writer member functions
    imaginary member variables
    13 how to benefit from data abstraction
    access functions and data abstraction
    making programs easier to reuse
    14 how to protect member variables from harmful reference
    private member variables and member functions
    the public interface
    15 how to define classes that inherit variables and functions
    inheriting member variables and member functions
    derived classes and base classes
    multiple inheritance and shadowing 24 how to work with arrays of numbers
    arrays of numeric elements
    filling a numeric array from a file
    25 how to work with arrays of class objects
    arrays of class-object elements
    filling an object array from a file..
    26 how to create file streams for input and output
    creating streams
    opening and closing files for reading and writing
    ifstream and ofstream statements
    27 how to create new class objects at run time
    pointers and the free store
    allocating space with new
    the dereferencing operator, *
    the class-pointer operator, -]
    the address-of operator, &
    28 how to store pointers to class objects
    wasting space by defining too-large object arrays
    saving space by defining too-large pointer arrays
    29 how to write programs that find member functions at run time
    arrays of pointers to miscellaneous objects
    virtual member functions
    pure virtual functions
    30 how to write multiway condmonal statements
    switch statements
    the cerr output stream
    exit statements
    31 how to use enumerations to improve readability
    the mnemonic sterility of numbers
    the enumeration data type
    the integral data types
    the character data type
    32 how to write constructors that call other constructors
    33 how to write member functions that call other member functions
    34 how to use protected and private variables and functions
    35 how to use protected and private class derivations
    36 how to write functions that return character strings
    character strings and character arrays
    the null character, \0
    37 how to use call-by-reference parameters
    call by value and incomplete argument copying
    using call by reference to access entire objects
    using call by reference to save time
    using call by reference to alter arguments
    38 how to overload the output operator
    copy-free function return
    pass-through objects
    operator overloading
    39 how to produce tabular displays
    the printf function
    field widths and padding characters
    printing strings, characters, and numbers
    40 how to write statements that read character strings from files
    input buffers
    using the input operator with a character pointer
    array names viewed as constant pointers
    41 how to test string characters
    characters viewed as integers
    obtaining character codes
    using enumeration constants as character codes
    42 how to deposit character strings into class objects
    creating character arrays at run time using new
    using strlen and strcpy to measure and copy
    43 how to reclaim memory with delete and destructors
    garbage and memory leaks
    del ete viewed as the complement of new
    destructor member functions
    static member variables
    44 how to prevent object copying
    the excess-reclamation bug
    defining your own copy constructor
    45 how to organize a multiple-file program
    header files
    separating class and member-function definitions
    inline functions
    managing global variables with static and extern
    46 how to compile a multiple-file program
    recording file dependencies in a makefile
    maintaining systems using the make utility
    47 how to implement lists
    using lists to conserve memory
    internal and external pointers
    the null pointer, null
    48 how to make one class a friend of another class
    49 how to reuse class definitions using templates
    50 how to iterate over lists using iteration class objects
    appendix a: operator precedence
    appendix b: formatted display
    colophon...
    index

    商品评论(0条)

    暂无评论!

    您的浏览历史

    loading 内容加载中,请稍后...