From the course: Parallel and Concurrent Programming with C++ Part 2

Exercise files - C++ Tutorial

From the course: Parallel and Concurrent Programming with C++ Part 2

Start my 1-month free trial

Exercise files

- [Instructor] For the C++ demonstrations throughout this course, we'll be using GCC and the Make utility to compile and link our example programs. Specifically, G++ version 7.4.0 and Make 4.2.1. If you plan to use a different compiler, make sure it supports the C++ 17 standard to follow along. We'll be using Cygwin to emulate a Unix-like, POSIX compliant environment on our Windows 10 computer. If you'll be using Cygwin as well, use the Cygwin setup utility to install the GCC-G++ and Make packages, and add the Cygwin bin directory to your Windows system PATH. Finally, to edit our source files, we'll be using Visual Studio Code, but feel free to use any other code editor you're already comfortable with. For some of the examples in this course, we'll be using the opensource Boost C++ library for features that are not yet implemented as part of the main C++ standard. If you're using Cygwin as your development environment, like us, you can install the Boost libraries from the Cygwin setup utility by selecting this libboost-devel package, which will include all the packages you need for this course. If you're working in a different development environment, you can follow this getting started guide on boost.org for instructions on how to build and install Boost for your setup. We've written each of the code examples as a single CPP source file, which can be found in the corresponding directory of the downloadable exercise files. For most of the videos, we'll provide you with a beginning state, the code at the beginning of the video, as well as an end state, after we've made modifications. We've also included a Make file with each of the examples which you can use to compile and link the example code. Though, keep in mind, you may need to modify the contents of that Make file if you're using a different development environment.

Contents