Beginning C++ Programming

Modern C++ at your fingertips!
Preview in Mapt

Beginning C++ Programming

Richard Grimes

5 customer reviews
Modern C++ at your fingertips!

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Beginning C++ Programming Book Cover
Beginning C++ Programming
$ 39.99
$ 28.00
Learning C++ Functional Programming Book Cover
Learning C++ Functional Programming
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781787124943
Paperback526 pages

Book Description

C++ has come a long way and is now adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications, including desktop applications, servers, and performance-critical applications, not to forget its importance in game programming. Despite its strengths in these areas, beginners usually tend to shy away from learning the language because of its steep learning curve.

The main mission of this book is to make you familiar and comfortable with C++. You will finish the book not only being able to write your own code, but more importantly, you will be able to read other projects. It is only by being able to read others' code that you will progress from a beginner to an advanced programmer. This book is the first step in that progression.

The first task is to familiarize you with the structure of C++ projects so you will know how to start reading a project. Next, you will be able to identify the main structures in the language, functions, and classes, and feel confident being able to identify the execution flow through the code. You will then become aware of the facilities of the standard library and be able to determine whether you need to write a routine yourself, or use an existing routine in the standard library.

Throughout the book, there is a big emphasis on memory and pointers. You will understand memory usage, allocation, and access, and be able to write code that does not leak memory. Finally, you will learn about C++ classes and get an introduction to object orientation and polymorphism.

Table of Contents

Chapter 1: Starting with C++
What will you find in this chapter?
What is C++?
Installing Visual C++
Examining C++ projects
Writing a simple project
Summary
Chapter 2: Understanding Language Features
Writing C++
Using operators
Controlling execution flow
Using C++ language features
Summary
Chapter 3: Exploring C++ Types
Exploring built-in types
Converting between types
Using C++ types
Summary
Chapter 4: Working with Memory, Arrays, and Pointers
Using memory in C++
Using arrays
Using pointers in C++
Allocating memory in code
Memory and the C++ Standard Library
References
Using pointers in practice
Summary
Chapter 5: Using Functions
Defining C++ functions
Using function parameters
Function features
Designing functions
Function pointers
Templated functions
Overloaded operators
Using functions in C++
Summary
Chapter 6: Classes
Writing classes
Using objects with pointers
Templates
Using classes
Summary
Chapter 7: Introduction to Object-Orientated Programming
Inheritance and composition
Introducing polymorphism
Using polymorphism
Summary
Chapter 8: Using the Standard Library Containers
Working with pairs and tuples
Containers
Algorithms
Using the numeric libraries
Using the Standard Library
Summary
Chapter 9: Using Strings
Using the string class as a container
Internationalization
Strings and numbers
Using stream classes
Using regular expressions
Using strings
Summary
Chapter 10: Diagnostics and Debugging
Preparing your code
Application termination
Error values
C++ exceptions
Summary

What You Will Learn

  • Get familiar with the structure of C++ projects
  • Identify the main structures in the language: functions and classes
  • Feel confident about being able to identify the execution flow through the code
  • Be aware of the facilities of the standard library
  • Gain insights into the basic concepts of object orientation
  • Know how to debug your programs
  • Get acquainted with the standard C++ library

Authors

Table of Contents

Chapter 1: Starting with C++
What will you find in this chapter?
What is C++?
Installing Visual C++
Examining C++ projects
Writing a simple project
Summary
Chapter 2: Understanding Language Features
Writing C++
Using operators
Controlling execution flow
Using C++ language features
Summary
Chapter 3: Exploring C++ Types
Exploring built-in types
Converting between types
Using C++ types
Summary
Chapter 4: Working with Memory, Arrays, and Pointers
Using memory in C++
Using arrays
Using pointers in C++
Allocating memory in code
Memory and the C++ Standard Library
References
Using pointers in practice
Summary
Chapter 5: Using Functions
Defining C++ functions
Using function parameters
Function features
Designing functions
Function pointers
Templated functions
Overloaded operators
Using functions in C++
Summary
Chapter 6: Classes
Writing classes
Using objects with pointers
Templates
Using classes
Summary
Chapter 7: Introduction to Object-Orientated Programming
Inheritance and composition
Introducing polymorphism
Using polymorphism
Summary
Chapter 8: Using the Standard Library Containers
Working with pairs and tuples
Containers
Algorithms
Using the numeric libraries
Using the Standard Library
Summary
Chapter 9: Using Strings
Using the string class as a container
Internationalization
Strings and numbers
Using stream classes
Using regular expressions
Using strings
Summary
Chapter 10: Diagnostics and Debugging
Preparing your code
Application termination
Error values
C++ exceptions
Summary

Book Details

ISBN 139781787124943
Paperback526 pages
Read More
From 5 reviews

Read More Reviews

Recommended for You

Learning C++ Functional Programming Book Cover
Learning C++ Functional Programming
$ 39.99
$ 28.00
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Python GUI Programming Cookbook - Second Edition Book Cover
Python GUI Programming Cookbook - Second Edition
$ 39.99
$ 28.00
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition Book Cover
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition
$ 39.99
$ 28.00
Boost C++ Application Development Cookbook - Second Edition Book Cover
Boost C++ Application Development Cookbook - Second Edition
$ 39.99
$ 28.00
Mastering Blockchain Book Cover
Mastering Blockchain
$ 39.99
$ 28.00