C++ Without Fear

Video description

6+ Hours of Video Instruction

Overview

C++ Without Fear LiveLessons provides a gentle introduction to C++ for new programmers as well as people with experience in languages such as BASIC. The course helps the new programmer get up to speed as quickly as possible while understanding the C++ way of doing things.

Description

Brian first takes the new C++ programmer through the successful installation of Microsoft Visual Studio, Community Edition. Then, starting with the simplest C++ programs possible, he introduces the building blocks of programming as they are used in C++: variables, loops, control structures, strings, pointers, and then finally classes and objects. At each stage, he explains these concepts in simple, concrete terms and how they add immensely to the power of a program. Above all, by emphasizing the “C++ way” of doing things, he helps even the newest programmer start to quickly look like a C++ professional!

About the Instructor

Brian Overland, author of ten successful books on computer programming, has been programming in C professionally since the 1980s and programming in C++ since the 1990’s. During his ten years at Microsoft as a Project Lead, he managed documentation for Macro Assembler and was one of the project leads of Visual Basic 1.0, in which he took on the task of explaining a new programming model to a whole generation of GUI programmers. He also has decades of teaching people one-on-one in math, writing and computer programming‚Äìall of which gives him unique insights into the challenges of explaining complex ideas in simple ways.

Skill Level

  • Primarily beginning and beginning-to-intermediate.

What You Will Learn

  • How to install and run C++ on Microsoft Visual Studio, Community Edition
  • New features of C++11 and C++14, such as ranged-based “for”
  • How to effectively use pointers, strings, vectors, and arrays
  • How to use C++ shortcuts, just like the pros
  • The “why’s” behind language features such as pointers, classes, and objects

Who Should Take This Course

  • People who are new to programming generally as well as people who know a language such as Java or Basic, but have (until now) found the prospect of C++ intimidating. Fear no longer!

Course Requirements

  • Familiarity with personal computers
  • Some familiarity with the most basic concepts in programming‚Äìsuch as variables and programming environments‚Äìis helpful though not absolutely required

Lesson Descriptions

Lesson 1: Installing and Using C++. Introduces the new user to C++ gently and easily, showing the basic skeleton for simple three-line programs. The lesson first guides the user through installing Microsoft Visual Studio, Enterprise Edition, correctly setting the options so that the environment will work with simple plain-vanilla C++ programs.

Lesson 2: Making Decision and Looping. Shows the novice programmer how to start writing truly intelligent programs, by introducing the abilities to make decisions and do simple looping. Ends with a simple program that produces the classic Fibonacci series, one of the most interesting sequences in the history of mathematics.

Lesson 3: Understanding Arrays and Vectors. This lesson build on the power inherent in loops by adding the all-important array feature of C++, emphasizing how arrays enable you to create “N” of something‚Ķ where N can be 1, 10, 1000, or a billion! After that, the lesson introduces the classic C++ “for” statement, as well as ranged-base “for” statement, and finally vectors. These are some of the most productive, useful features of the C++14 specification.

Lesson 4: Using C++ Functions. Guides the user through the essential steps of writing reliable, well-behaved C++ functions. This involves using the prototype feature, so that C++ functions can be defined in any order without creating a forward-reference problem. Above all, this lesson emphasizes why functions are the most important facility in any language for writing reusable code.

Lesson 5: Manipulating Strings. This lesson guides the user through the use of the C++ high-level string class, explaining why it is so much easier and more reliable to use than old-fashioned C-strings (which is doing things the hard way). But while the use of the high-level string class makes it easy to manipulate text, there are still some quirks involving input, which is why this lesson recommends–and illustrates–the use of line input, as the best technique.

Lesson 6: Pointers and References. This lesson answers the age-old questions all new C and C++ programmers ask: What are pointers and why the heck do you need them? The lesson first illustrates how pointers work in a simple way, using graphics… and then proceeds to show purely practical reasons for using pointers. Finally, the reference feature of C++ is discussed as a way to do some of the things you can do with pointers, but not all.

Lesson 7: Objects Part I: Simple Classes. Bearing in mind that C++ classes can become a complex and abstract subject quickly, this lesson sticks to exploring the most basic features of C++ classes and how they’re related to objects, in a one-to-many relationship. The benefits of the class/object system become more evident as this lesson shows the benefits of private function, encapsulation, and constructor functions ‚Äî emphasizing not just the fancy words but the practical benefits.

Lesson 8: Objects Part II: Trees and Nodes. This final lesson brings together many features, including pointers, the “new” operator, and the class/object design, to show how to create an extremely useful binary tree. In particular, the lesson explains how such classes can be made “bullet-proof” and super-reliable in a way that is not even possible without C++’s class and object syntax. In turn, this proves the real efficacy of Object Oriented Programming and how it can change your life as a programmer.

About LiveLessons Video Training

The LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at:http://www.informit.com/livelessons.

Table of contents

  1. Introduction
    1. C++ Without Fear: Introduction
  2. Lesson 1: Installing and Using C++
    1. Learning objectives
    2. 1.1 All about C++
    3. 1.2 Install Microsoft Visual Studio
    4. 1.3 Create a simple project
    5. 1.4 Write a simple program
    6. 1.5 Use input and output
    7. 1.6 Add comments
  3. Lesson 2: Making Decisions and Looping
    1. Learning objectives
    2. 2.1 Make a decision in C++
    3. 2.2 Use AND conditions
    4. 2.3 Count to 10 using while
    5. 2.4 Print Fibonacci numbers
    6. 2.5 Calculate Fibonacci ratios
  4. Lesson 3: Understanding Arrays and Vectors
    1. Learning objectives
    2. 3.1 Print an array of values
    3. 3.2 Use classic “for”
    4. 3.3 Use range-based “for”
    5. 3.4 Use and understand vectors
  5. Lesson 4: Using C++ Functions
    1. Learning objectives
    2. 4.1 Understand C++ functions
    3. 4.2 Write a simple function
    4. 4.3 Pass an argument
    5. 4.4 Prototype functions
    6. 4.5 Use two arguments
  6. Lesson 5: Manipulating Strings
    1. Learning objectives
    2. 5.1 Declare and use strings
    3. 5.2 Input a string
    4. 5.3 Get a line of input
    5. 5.4 Get a number using line input
  7. Lesson 6: Pointers and References
    1. Learning objectives
    2. 6.1 What is a pointer?
    3. 6.2 Use a three-step process for pointers
    4. 6.3 Use a reference to alter argument values
    5. 6.4 Dynamically allocate an array
  8. Lesson 7: Objects Part I: Simple Classes
    1. Learning objectives
    2. 7.1 Write a class to store data
    3. 7.2 Write and use the Point class
    4. 7.3 Write member functions
    5. 7.4 Write a constructor
    6. 7.5 Write a default constructor
  9. Lesson 8: Objects Part II: Trees and Nodes
    1. Learning objectives
    2. 8.1 Create an object with “new”
    3. 8.2 Use the arrow operator (->)
    4. 8.3 Write a node class
    5. 8.4 Write a binary tree
    6. 8.5 Use the binary tree
  10. Summary
    1. C++ Without Fear: Summary

Product information

  • Title: C++ Without Fear
  • Author(s): Brian Overland
  • Release date: March 2016
  • Publisher(s): Pearson
  • ISBN: 0134318935