Programming Workshop (C++)

Lecture notes


This is the second course on C++. The goal is simple: become awesome coders. C++ is a complicated language with tons of features. It is also rather beautiful. Though not as pretty is C. C++ allows you to dive deep into this thing that we refer to as "programming." This deep dive will allow you to develop a deeper appreciation of all things computing. Frankly the technology is so advanced that to the most of us it is simply magic. C++ programming will allow you, perhaps for a fleeting second, to peer behind the curtain.


Faisal Qureshi

Email: faisal.qureshi@ontariotechu.ca
Web: http://vclab.science.ontariotechu.ca

Foreword

These notes follow the excellent Absolute C++ book by Walter Savitch and Kenrick Mock. If you can at all afford it, I encourage you to get a copy of this text. This book is a bit pricey.

In addition, these notes draw heavily upon MIT OpenCourseWare, 6.096 Introduction to C++ January (IAP) 2011 under the terms listed http://ocw.mit.edu/terms.

You are free to share and adapt these materials under the Creative Commons License. For details see below.

You can reach me via e-mail with suggestions, comments, corrections, etc.

Silent Era Coding Vidoes

You may find the following coding video instructive. These show how code is constructed one letter/digit at a time. These videos are hosted on Youtube, and I have no control over the videos/ads that Youtube decides to show you. Consider yourself warned.

Multifile C++ programs

Makefile

C++ preprocessors

Commandline arguments

CPP and header files

A 2D vector class

Static variables

Function pointers

Dynamic array class

Reference material

  • Absolute C++ by Walter Savitch and Kenrick Mock
  • Programming: Principles and Practice Using C++ by Bjarne Stroustrup

Programming Resources

Copyright and License

© Faisal Qureshi

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.


Last update: 2022-10-02 19:32
Webify version: 4.23
© Faisal Qureshi