Beginning Modern C++

Overview

Beginning C++ is a tutorial for beginners in C++ and discusses a subset of C++ that is suitable for beginners. The language syntax corresponds to the C++14 standard. This book is environment neutral and does not presume any specific operating system or program development system. There is no assumption of prior programming knowledge.

All language concepts that are explained in the book are illustrated with working program examples. Most chapters include exercises for you to test...

See more details below
Paperback (4th ed. 2014)
$44.39
BN.com price
(Save 26%)$59.99 List Price
Other sellers (Paperback)
  • All (6) from $39.86   
  • New (5) from $39.86   
  • Used (1) from $44.38   
Sending request ...

Overview

Beginning C++ is a tutorial for beginners in C++ and discusses a subset of C++ that is suitable for beginners. The language syntax corresponds to the C++14 standard. This book is environment neutral and does not presume any specific operating system or program development system. There is no assumption of prior programming knowledge.

All language concepts that are explained in the book are illustrated with working program examples. Most chapters include exercises for you to test your knowledge. Code downloads are provided for examples from the text and solutions to the exercises and there is an additional download for a more substantial project for you to try when you have finished the book.

This book introduces the elements of the C++ standard library that provide essential support for the language syntax that is discussed. While the Standard Template Library (STL) is not discussed to a significant extent, a few elements from the STL that are important to the notion of modern C++ are introduced and applied.

Beginning C++ is based on and supersedes Ivor Horton’s previous book, Beginning ANSI C++.

What you’ll learn

  • How to work with fundamental C++ data types and do calculations
  • How to build logic into a program using loops, choices, decisions and more
  • How to work with arrays, vectors, and strings
  • How to use raw pointers and smart pointers
  • How to program with functions and deal with program files and pre-processing directives
  • How to define your own data types using classes and class operations
  • How to implement operator overloading for your own data types
  • How to apply class inheritance and use virtual functions to obtain polymorphism and errors/exception handling
  • How to signal and handle errors using exceptions
  • How to define and use function templates and class templates
  • How to do file input and output with C++

Who this book is for

This book is for industry practitioners and students wanting to learn C++ and use this as a reference guide for their applications.

Table of Contents

Chapter 1: Basic Ideas

Chapter 2: Introducing Fundamental Types of Data

Chapter 3: Working Fundamental Types

Chapter 4: Making Decisions

Chapter 5: Arrays and Loops

Chapter 6: Pointers and References

Chapter 7: Working with Strings

Chapter 8: Defining Functions

Chapter 9: Lambda Expressions

Chapter 10: Preprocessor directives

Chapter 11: Defining your own Data Types

Chapter 12: Operator Overloading

Chapter 13: Inheritance

Chapter 14: Virtual Functions and Polymorphism

Chapter 15: Runtime Errors and Exceptions

Chapter 16: Class Templates

Chapter 17: File Input and Output

Read More Show Less

Product Details

  • ISBN-13: 9781484200087
  • Publisher: Apress
  • Publication date: 11/4/2014
  • Edition description: 4th ed. 2014
  • Edition number: 1
  • Pages: 632
  • Sales rank: 1,124,005
  • Product dimensions: 7.50 (w) x 9.10 (h) x 1.50 (d)

Meet the Author

Ivor Horton is self-employed in consultancy and writes programming tutorials. He worked for IBM for many years and holds a bachelor's degree, with honors, in mathematics. Horton's experience at IBM includes programming in most languages (like assembler and high-level languages on a variety of machines), real-time programming, and designing and implementing real-time closed loop industrial control systems. He has extensive experience teaching programming to engineers and scientists (Fortran, PL/1, APL, etc.). Horton is an expert in mechanical, process, and electronic CAD systems; mechanical CAM systems; and DNC/CNC systems.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)