C++ for Programmers
L. Ammeraal(Author)
Wiley (Publisher)
Published on 29. April 1991
Book
Hardback
336 pages
978-0-471-93011-2 (ISBN)
Description
The author attempts to explain all aspects of the C++ programming language by means of simple, complete programs. This work is designed to be of use to professional programmers who are already familiar with another language and want to switch to C++.
More details
Language
English
Place of publication
Chichester
United Kingdom
Publishing group
John Wiley and Sons Ltd
Target group
College/higher education
Professional and scholarly
Illustrations
bibiography, index
Dimensions
Height: 88 mm
Width: 35 mm
Weight
640 gr
ISBN-13
978-0-471-93011-2 (9780471930112)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Classification
Content
Part 1 Introduction: about C++ and other languages; our first C++ programme; memory organization and binary numbers; identifiers and keywords; constants; comment. Part 2 Expressions and statements: arithmetic operations; types, variables, and assignments; comparison and logical operators; compound and conditional statements; iteration statements; break, continue, goto, switch. Part 3 More operators: conditional expressions; the comma operator; bit manipulation; simple arrays; associativity; precedence of operators; arithmetic conversions and the cast-operator. Part 4 Functions and programme structure: definition and declarations of functions; the "void" keyword; global variables; altering variables via parameters; types of arguments and return values; initialization; separate compilation; some mathematical standard functions; overloading applied to functions; references as return values; inline functions and macros; other preprocessor facilities. Part 5 Arrays, pointers, and strings: address arithmetic; function arguments and arrays; pointers; strings; string operations; dynamic memory allocation; input and output of strings; strings as arguments and as return values; multi-dimensional arrays; programme parameters; the functions "sscanf" and "sprintf"; pointers to functions. Part 6 Classes and objects: classes and structures; classes as arguments and as return values; unions; bit fields; member functions and encapsulation; member access control; constructors and destructors; operator overloading and friend functions; type conversion for classes; copying a class. Part 7 Object-oriented programming: interface, implementation, and application files; a class for sets; derived classes and inheritance; virtual functions and late binding; static class members; pointers to members; polymorphism and reusability; iterators; a calculator for rational arithmetic. Part 8 Standard I/O: introduction; the function "print"; the function "scanf"; files; "binary files"; random access. Part 9 Stream I/O: stream; output; input; file I/O; random access - error states. Part contents.