Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
An Introduction to C++ Programming
Rating: 4.1 out of 5(71 ratings)
5,102 students

An Introduction to C++ Programming

Learn the Fundamentals of Procedural Programming in C++
Created byRishi Desai
Last updated 12/2020
English
English [Auto],

What you'll learn

  • You will be familiar with basic aspects of C++, including procedural programming and memory management.
  • You will learn how to model and solve real-world problems using C++.

Course content

2 sections16 lectures1h 18m total length
  • Operators6:07

    Explore the basics of C++ operators, including +, -, *, /, and %, learn integer division, casting to double for decimals, and how exponentiation requires a library.

  • Variables and Data Types5:48

    Explore variables and data types in c++, including primitives like integers, doubles, and characters, and booleans; declare with explicit types, and use typedef to create custom types while evaluating expressions.

  • The String Object4:24

    Explore the string object in C++, declare strings with double quotes, distinguish from C strings, access characters with zero-based indexing, and measure length with size().

  • Methods for Strings4:21

    Learn string manipulation in C++, including concatenation with the addition operator, spacing between words, escape sequences for quotes and tabs, and using to_string to append numbers.

  • Conditional Statements5:21

    Use conditional statements in c++ with if, else if, and else to control code execution. Compare values with greater than, equal, or lesser and print outcomes.

  • C++ Arrays3:38

    Learn to declare and initialize c++ arrays, specify length, and populate with values; apply zero-based indexing to access and modify elements while noting arrays store a pointer.

  • C++ Vectors<>4:36

    Learn how vectors differ from fixed-size arrays by dynamically resizing, adding elements with push back, and printing or accessing items via iterators such as begin and end.

  • 'for' and 'while' loops5:42

    Learn to use for and while loops in C++ to repeat code, with initialization, condition, and increment; know when to apply for vs while, and populate vectors with numbers.

  • 'for-each' loops and loop control5:21

    Explore for-each loops and loop control in C++ by using break and continue to manage iteration and avoid infinite loops, and apply for-each to vector V for clean element iteration.

  • Procedural Programming Quiz

Requirements

  • Prior programming experience in other general-purpose programming languages (e.g. Python, Java) is recommended.
  • You can download any C++ IDE (e.g. QT Creator, Eclipse, CLion)

Description

You will learn introductory C++ programming constructs. In this course, you will be exposed to all of the fundamental constructs of programming such as loops, arrays, operators, and functions. You will learn procedural programming first to develop a strong basis of computational logic. Then you will learn about memory management in C++. Altogether, this course will unlock the doors to learn about computer systems (e.g. operating systems, networking) and conduct computer science research with C++.

Who this course is for:

  • Students with a passion for learning, and those who enjoy working with computers.
  • This course is for beginner programmers with some programming experience in another language.