Amazon cover image
Image from Amazon.com

Programming : principles and practice using C++ / Bjarne Stroustrup.

By: Material type: TextTextPublisher: Upper Saddle River, NJ : Addison-Wesley, 2014Edition: Second editionDescription: xxxi, 1274 pages : illustrations ; 24 cmContent type:
  • text
Media type:
  • unmediated
Carrier type:
  • volume
ISBN:
  • 9780321992789
  • 0321992784
Subject(s): DDC classification:
  • 005.133 ST.P 2014 23
LOC classification:
  • QA76.73.C153 S82 2014
Contents:
Notes to the reader: The structure of this book ; A philosophy of teaching and learning ; Programming and computer science ; Creativity and problem solving ; Request for feedback ; References ; Biographies: Bjarne Stroustrup ; Lawrence "Pete" Petersen-- 1. Computers, people, and programming-- Introduction ; Software ; People ; Computer science ; Computers are everywhere ; Ideals for programmers-- 2. The basics. Hello, world!: Programs ; The classic first program ; Compilation ; Linking ; Programming environments -- 3. Objects, types, and values: Input ; Variables ; Input and type ; Operations and operators ; Assignment and initialization ; Composite assignment operators ; Names ; Types and objects ; Type safety --4. Computation: Computation ; Objectives and tools ; Expressions ; Statements ; Functions ; Vector ; Language features -- 5. Errors: Introduction ; Sources of errors ; Compile-time errors ; Link-time errors ; Run-time errors ; Exceptions ; Logic errors ; Estimation ; Debugging ; Pre- and post- conditions ; Testing -- 6. Writing a program: A problem ; Thinking about the program ; Back to the calculator! ; Grammars ; Turning a grammar into code ; Trying the first version ; Trying the second version ; Token streams ; Program structure -- 7. Completing a program: Introduction ; Input and output ; Error handling ; Negative numbers ; Remainder: % ; Cleaning up the code ; Recovering from errors ; Variables -- 8. Technicalities: functions, etc.: Technicalities ; Declarations and definitions ; Header files ; Scope ; Function call and return ; Order of evaluation ; Namespaces -- 9. Technicalities: classes, etc.: User-defined types ; Classes and members ; Interface and implementation ; Evolving a class ; Enumerations ; Operator overloading ; Class interfaces ; The date class-- 10. Input and output. Input and output streams: Input and output ; The I/O stream model ; Files ; Opening a file ; Reading and writing a file ; I/O error handling ; Reading a single value ; User-defined output operators ; User-defined input loop ; Reading a structured file -- 11. Customizing input and output: Regularity and irregularity ; Output formatting ; File opening and positioning ; String streams ; Line-oriented input ; Character classification ; Using nonstandard separators ; And there is so much more -- 12. A display model: Why graphics? ; A display model ; A first example ; Using a GUI library ; Coordinates ; Shapes ; Using shape primitives ; Getting this to run -- 13. Graphics classes: Overview of graphics classes ; Point and line ; Lines ; Color ; Line_style ; Open_polyline ; Closed_polyline ; Polygon ; Rectangle ; Managing unnamed objects ; Text ; Circle ; Ellipse ; Marked_polyline ; Marks ; Mark ; Images -- 14. Graphics class design: Design principles ; Shape ; Base and derived classes ; Benefits of object-oriented programming -- 15. Graphing functions and data: Introduction ; Graphing simple functions ; Function ; Axis ; Approximation ; Graphing data -- 16. Graphical user interfaces: User interface alternatives ; The "next" button ; A simple window ; Button and other widgets ; An example ; Control inversion ; Adding a menu ; Debugging GUI code-- Data and algorithms: 17. Vector and free store: Introduction ; Vector basics ; Memory, addresses, and pointers ; Free store and pointers ; Destructors ; Access to elements ; Pointers to class objects ; Messing with types: void* and casts ; Pointers and references ; The this pointer -- 18. Vectors and arrays: Introduction ; Initialization ; Copying ; Essential operations ; Access to vector elements ; Arrays ; Examples: palindrome -- 19. Vector, templates, and exceptions: The problems ; Changing size ; Templates ; Range checking and exceptions ; Resources and exceptions -- 20. Containers and iterators: Storing and processing data ; STL ideals ; Sequences and iterators ; Linked lists ; Generalizing vector yet again ; An example: simple text editor ; Vector, list, and string ; Adapting our vector to the STL ; Adapting built-in arrays to the STL ; Container overview -- 21. Algorithms and maps: Standard library algorithms ; The simplest algorithm: find() ; The general search: find_if() ; Function objects ; Numerical algorithms ; Associative containers ; Copying ; Sorting and searching ; Container algorithms-- Broadening the view: 22. Ideals and history: History, ideals, and professionalism ; Programming language history overview -- 23.Text manipulation: Text ; Strings ; I/O streams ; Maps ; A problem ; The idea of regular expressions ; Searching with regular expressions ; Regular expression syntax -- 24. Numerics: Introduction ; Size, precision, and overflow ; Arrays ; C-style multidimensional arrays ; The matrix library ; An example: solving linear equations ; Random numbers ; The standard mathematical functions ; Complex numbers ; References -- 25. Embedded system programming: Embedded systems ; Basic concepts ; Memory management ; Addresses, pointers, and arrays ; Bits, bytes, and words ; Coding standards -- 26. Testing: What we want ; Proofs ; Testing ; Design for testing ; Debugging ; Performance ; References -- 27. The C programming language: C and C++: siblings ; Functions ; Minor language differences ; Free store ; C-style strings ; Input/output: stdio ; Constants and macros ; Macros ; An example: intrusive containers-- Appendices: Language summary: General ; Literals ; Identifiers ; Scope, storage class, and lifetime ; Expressions ; Statements ; Declarations ; Built-in types ; Functions ; User-defined types ; Enumerations ; Classes ; Templates ; Exceptions ; Namespaces ; Aliases ; Preprocessor directives -- Standard library summary: Overview ; Error handling ; Iterators ; Containers ; Algorithms ; STL utilities ; I/O streams ; String manipulation ; Numerics ; Time ; C standard library functions ; Other libraries -- Getting started with Visual Studio: Getting a program to run ; Installing Visual Studio ; Creating and running a program ; Later -- Installing FLTK: Introduction ; Downloading FLTK ; Installing FLTK ; Using FLTK in Visual Studio ; Testing if it all worked -- GUI implementation: Callback implementation ; Widget implementation ; Window implementation ; Vector_ref ; An example: manipulating widgets.
Summary: An Introduction to Programming by the Inventor of C++ Preparation for Programming in the Real World The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field. Focus on Fundamental Concepts and Techniques The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code. Programming with Today's C++ (C++11 and C++14) The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks. For Beginners--And Anyone Who Wants to Learn Something New The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art. Provides a Broad View The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author's website.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Current library Collection Call number Status Date due Barcode
Books Books The Knowledge Hub Library Computing 005.133 ST.P 2014 (Browse shelf(Opens below)) Available 190252

"Sixth printing, January 2018"--Title page verso.

Includes bibliographical references (pages 1223-1225) and index.

Notes to the reader: The structure of this book ; A philosophy of teaching and learning ; Programming and computer science ; Creativity and problem solving ; Request for feedback ; References ; Biographies: Bjarne Stroustrup ; Lawrence "Pete" Petersen-- 1. Computers, people, and programming-- Introduction ; Software ; People ; Computer science ; Computers are everywhere ; Ideals for programmers-- 2. The basics. Hello, world!: Programs ; The classic first program ; Compilation ; Linking ; Programming environments -- 3. Objects, types, and values: Input ; Variables ; Input and type ; Operations and operators ; Assignment and initialization ; Composite assignment operators ; Names ; Types and objects ; Type safety --4. Computation: Computation ; Objectives and tools ; Expressions ; Statements ; Functions ; Vector ; Language features -- 5. Errors: Introduction ; Sources of errors ; Compile-time errors ; Link-time errors ; Run-time errors ; Exceptions ; Logic errors ; Estimation ; Debugging ; Pre- and post- conditions ; Testing -- 6. Writing a program: A problem ; Thinking about the program ; Back to the calculator! ; Grammars ; Turning a grammar into code ; Trying the first version ; Trying the second version ; Token streams ; Program structure -- 7. Completing a program: Introduction ; Input and output ; Error handling ; Negative numbers ; Remainder: % ; Cleaning up the code ; Recovering from errors ; Variables -- 8. Technicalities: functions, etc.: Technicalities ; Declarations and definitions ; Header files ; Scope ; Function call and return ; Order of evaluation ; Namespaces -- 9. Technicalities: classes, etc.: User-defined types ; Classes and members ; Interface and implementation ; Evolving a class ; Enumerations ; Operator overloading ; Class interfaces ; The date class-- 10. Input and output. Input and output streams: Input and output ; The I/O stream model ; Files ; Opening a file ; Reading and writing a file ; I/O error handling ; Reading a single value ; User-defined output operators ; User-defined input loop ; Reading a structured file -- 11. Customizing input and output: Regularity and irregularity ; Output formatting ; File opening and positioning ; String streams ; Line-oriented input ; Character classification ; Using nonstandard separators ; And there is so much more -- 12. A display model: Why graphics? ; A display model ; A first example ; Using a GUI library ; Coordinates ; Shapes ; Using shape primitives ; Getting this to run -- 13. Graphics classes: Overview of graphics classes ; Point and line ; Lines ; Color ; Line_style ; Open_polyline ; Closed_polyline ; Polygon ; Rectangle ; Managing unnamed objects ; Text ; Circle ; Ellipse ; Marked_polyline ; Marks ; Mark ; Images -- 14. Graphics class design: Design principles ; Shape ; Base and derived classes ; Benefits of object-oriented programming -- 15. Graphing functions and data: Introduction ; Graphing simple functions ; Function ; Axis ; Approximation ; Graphing data -- 16. Graphical user interfaces: User interface alternatives ; The "next" button ; A simple window ; Button and other widgets ; An example ; Control inversion ; Adding a menu ; Debugging GUI code-- Data and algorithms: 17. Vector and free store: Introduction ; Vector basics ; Memory, addresses, and pointers ; Free store and pointers ; Destructors ; Access to elements ; Pointers to class objects ; Messing with types: void* and casts ; Pointers and references ; The this pointer -- 18. Vectors and arrays: Introduction ; Initialization ; Copying ; Essential operations ; Access to vector elements ; Arrays ; Examples: palindrome -- 19. Vector, templates, and exceptions: The problems ; Changing size ; Templates ; Range checking and exceptions ; Resources and exceptions -- 20. Containers and iterators: Storing and processing data ; STL ideals ; Sequences and iterators ; Linked lists ; Generalizing vector yet again ; An example: simple text editor ; Vector, list, and string ; Adapting our vector to the STL ; Adapting built-in arrays to the STL ; Container overview -- 21. Algorithms and maps: Standard library algorithms ; The simplest algorithm: find() ; The general search: find_if() ; Function objects ; Numerical algorithms ; Associative containers ; Copying ; Sorting and searching ; Container algorithms-- Broadening the view: 22. Ideals and history: History, ideals, and professionalism ; Programming language history overview -- 23.Text manipulation: Text ; Strings ; I/O streams ; Maps ; A problem ; The idea of regular expressions ; Searching with regular expressions ; Regular expression syntax -- 24. Numerics: Introduction ; Size, precision, and overflow ; Arrays ; C-style multidimensional arrays ; The matrix library ; An example: solving linear equations ; Random numbers ; The standard mathematical functions ; Complex numbers ; References -- 25. Embedded system programming: Embedded systems ; Basic concepts ; Memory management ; Addresses, pointers, and arrays ; Bits, bytes, and words ; Coding standards -- 26. Testing: What we want ; Proofs ; Testing ; Design for testing ; Debugging ; Performance ; References -- 27. The C programming language: C and C++: siblings ; Functions ; Minor language differences ; Free store ; C-style strings ; Input/output: stdio ; Constants and macros ; Macros ; An example: intrusive containers-- Appendices: Language summary: General ; Literals ; Identifiers ; Scope, storage class, and lifetime ; Expressions ; Statements ; Declarations ; Built-in types ; Functions ; User-defined types ; Enumerations ; Classes ; Templates ; Exceptions ; Namespaces ; Aliases ; Preprocessor directives -- Standard library summary: Overview ; Error handling ; Iterators ; Containers ; Algorithms ; STL utilities ; I/O streams ; String manipulation ; Numerics ; Time ; C standard library functions ; Other libraries -- Getting started with Visual Studio: Getting a program to run ; Installing Visual Studio ; Creating and running a program ; Later -- Installing FLTK: Introduction ; Downloading FLTK ; Installing FLTK ; Using FLTK in Visual Studio ; Testing if it all worked -- GUI implementation: Callback implementation ; Widget implementation ; Window implementation ; Vector_ref ; An example: manipulating widgets.

An Introduction to Programming by the Inventor of C++ Preparation for Programming in the Real World The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field. Focus on Fundamental Concepts and Techniques The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code. Programming with Today's C++ (C++11 and C++14) The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks. For Beginners--And Anyone Who Wants to Learn Something New The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art. Provides a Broad View The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author's website.

There are no comments on this title.

to post a comment.