C++ by Example

Front Cover
Que Publishing, 2001 - Computers - 389 pages

C++ by Example includes 'UnderC,' an open-source language interpreter developed by the author, which shows the result of each new programming technique instantly, allowing novices to experiment in a more dynamic learning environment. The book starts with the fundamentals of the language, including expressions, variables, functions, and definitions and then covers the most common C++ features including

  • Organizing data with Arrays
  • Standard Algorithms and Containers
  • Using Libraries within C++ programs
  • Going beyond Arrays with Structures
  • Using Pointers
  • Manipulating data using Operators

    The second half of the book covers OOP, including Classes, Inheritance, Encapsulation, and more. The final chapters include useful command and library references and appendices covering the preprocessor and freeware C++ compilers.

  •  

    What people are saying - Write a review

    User Review - Flag as inappropriate

    i want read this book.
    but cant download,and no where to buy this book print or digit

    User Review - Flag as inappropriate

    I want to download

    Contents

    Introduction
    1
    C++ Fundamentals
    7
    Strings
    21
    Functions and Control Statements
    29
    Arrays and Algorithms
    53
    Iterators
    69
    Calculating Simple Statistics
    73
    Two Approaches to Histograms
    79
    Object Oriented C++
    169
    Constructors and Destructors
    182
    Interfaces and Implementations
    190
    Whats Next?
    199
    Polymorphism
    212
    A Resizable Array
    255
    Appendices
    303
    The C++ Standard string Class
    320

    Programs
    87
    Defensive Programming
    97
    A ReversePolish Calculator
    103
    Structures and Pointers
    111
    Overloading Functions and Operators
    139
    Numerical Operations
    331
    Yet Another Windows Library
    342
    The C++ Preprocessor
    351
    Compiling C++ Programs and DLLs with GCC and BCC32
    361
    Copyright

    Common terms and phrases

    About the author (2001)

    Steve Donovan has been programming most of his life, mostly scientific and engineering applications. He did graduate work in nuclear physics and taught college physics for three years, which taught him the importance of language in learning science.

    He has been with the Mining Research labs of CSIR South Africa for the past 10 years, primarily working with geophysical and geotechnical applications in Windows, in everything from Pascal to Assembler. C++ has been his tool of choice for five years, and he tries not to argue with Java and Visual Basic programmers.

    Steve has developed the UnderC C++ interpreter to make life easier both for beginners and for experts who are tired of the compile-link-go cycle. Steve has released UnderC as open source, in the hope that someone else will debug it. He is not considered a gifted drawer of icons.

    Bibliographic information