Learn how to program in C++ from a seasoned veteran and former University course instructor, part 1.

What you will learn

You will know how data is stored in computer memory, and how C++ “types” data into classes

Really understand how if/else and switch statements can be used to branch your code

Geniunely understand how loops work

Description

Pick up and learn C++ programming from the very basics with this course. This course is a very gentle introduction to programming in C++, especially geared towards first time programmers.

C++ With An Emphasis On “Easy to Understand.”

  • Setting up an IDE (Visual Studio/Xcode)
  • Basic input and output
  • What #include really means
  • Variables
  • C++ Math (including an explanation of “modulus”)
  • Random number generation
  • Branching using if and switch
  • Comparisons and inequalities
  • Loops
  • Solved exercises

If you’re a college student, you might find there is a wide gap between your prof and yourself. When your prof explains things, it just doesn’t quite make sense. Something doesn’t sit right. This course is about filling that gap and clearing those questions in your mind. If you’re struggling to follow in your introductory programming course lectures, try this series out to supplement your learning.

Overview

Programming is that notorious college freshman subject that everyone finds extremely hard. But it doesn’t have to be that way.


Get Instant Notification of New Courses on our Telegram channel.


In this course I explain the very basics of C++ programming. I explain core C++ concepts using slides. We also will write sample programs, and I explain every line of code used, every function called, and leave no line of code unexplained.

I developed the material in this course after several iterations of an introductory programming course. The result I now present to you is a combination of careful deliberation about how to explain a topic, and incorporating student feedback to respond to student needs.

If you’ve had trouble understanding the very basics of code before, what it all means should be very clear to you after studying this course.

When you are finished with this course, you should have a very solid foundation in C++ upon which to build other skills.

Once you understand the basics of programming and you’ve programmed for a while, it’s almost inevitable that you will catch the “programming bug”: you will not be able to stop programming!

English
language

Content

Introduction & Compiler

Hardware, Software and IDE’s
Compilation
Installing Visual Studio 2013 Express Edition
Mac: Finding your way around Xcode
Beginning C++: First program, basic output using cout
Getting better acquainted with Visual Studio 2013
Comments
Casing and spacing: Common errors
Escape sequences
Lab #1 – basic output
Variables
Best practices: Identifiers/Variable names
Basic input using cin

Math

Math in C++ (+, -, *, /)
modulus (%)
<cmath> library
Increasing/modifying the value of a variable (+=, -=, *=, /=)
Postincrement++ and postdecrement–
rand() – getting random values

Branching

Branching one way: the if statement, and == for comparison
Lab #2: Quadratic equation
Branching in more than two ways: else if
Branching two ways: the else statement
Comparison and Inequality Operators
char and bool
Branching using switch

Loops

while loops
Using the Debugger (Visual Studio)