Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C++, Short and Sweet, Part 1
Rating: 4.2 out of 5(1,843 ratings)
119,888 students

C++, Short and Sweet, Part 1

A first course on C++ based on the book Accelerated C++.
Created byJeremy Siek
Last updated 5/2012
English

Course content

1 section7 lectures5h 27m total length
  • Getting started50:25

    This first lecture covers Chapter 0 of the textbook Accelerated C++ by Koenig and Moo.

    The topics covered in this lecture are

    1. the basic syntactic structure of C++ programs,
    2. how to define and call functions,
    3. how to create local variables,
    4. character-based output to a terminal,
    5. and the basics of namespaces.
  • Working with strings and if statements54:51

    This lecture covers Chapters 1 and part of Chapter 2 of Accelerated C++.

    The topics of the lecture are:

    1. rounding of floating-point numbers,
    2. character-based input from the keyboard,
    3. using the standard string class,
    4. and if statements for conditionally executing different statements.
  • Looping and working with batches of data52:15

    This lecture covers Chapters 2 and 3 of Accelerated C++.

    The topics  discussed in this lecture are:

    1. while and for statements for executing some statements many times,
    2. more operations on the string class,
    3. arithmetic and assignment operators for integers and floating-point numbers,
    4. and using the standard vector class.
  • Organizing programs57:23

    This lecture covers Chapter 4 of Accelerated C++.

    The topics discussed in this lecture are:

    1. when to create a function and how to choose a good name,
    2. how to carefully refactor a program to better organize it using functions,
    3. parameter passing with references and const references,
    4. how to use the standard sort function,
    5. and exception handling.
  • Organizing data and using sequential containers50:34

    This lecture covers Chapter 5 of Accelerated C++.

    The topics discussed in this lecture are:

    1. grouping related data into a struct,
    2. defining functions that work on structs,
    3. efficiency considerations when using the vector class,
    4. and how to use the list class.
  • Using library algorithms1:01:45

    This lecture covers Chapter 6 of Accelerated C++. The theme of this lecture is learning to use the standard algorithms on sequences.

    The lecture discusses the following topics:

    1. the ideas of iterators and adaptors,
    2. how to use the copy, find_if, and equal algorithms,
    3. how to use the transform, accumulate, remove_copy, and stable_partition algorithms,
    4. and how to apply these algorithms in the setting of computing medians and averages of student grades.
  • Code Examples Download0:15

Description

This course is for beginners who want to get started writing programs in C++, taught by Jeremy Siek, a professor at the University of Colorado. No prior knowledge of C++ is assumed. The course is based on the excellent textbook Accelerated C++ by Andrew Koenig and Barbara E. Moo. Like the textbook, the course quickly dives into problem solving and making use of the C++ standard library, including strings, vectors, and lists. The emphasis is on teaching you the parts of C++ that you will most likely need in your day-to-day programming. This course is Part 1 of a planned two-part sequence. Part 1 covers the first seven chapters of Accelerated C++, in particular, Chapters 0 through 6. The course consists of six videos of 50-60 minutes each.

Part 2 of the course, forthcoming, will cover the second half of Accelerated C++, including how to write your own classes and generic functions.