Preliminaries

  1. Hello world

    Here's what you should be able to to in order to follow the C++ course.

  2. Editor, not IDE

    Use a plain text editor, not an IDE.

  3. Can I use an other compiler?

    Spoiler alert: no.

  4. Installing on recent Ubuntu

    Installing g++ on Ubuntu 2020 LTS 'Focal Fossa' is extremely easy.

  5. Installing on older Ubuntu

    From PPA(?), from source, or cut corners by sneaky copying.

  6. I have a Mac

    Good for you. We know a few things, but no demo (sorry), because we'd have to pay Apple to make one.

  7. Choices on Windows

    Windows is the hardest to fix. And you have to choose from multiple options.

    First choice: between either another (virtual) computer, or a glue layer.

    1. More choice: another computer could be a cheap old laptop, a RaspBerry Pi, or a virtual machine.

      Installing Linux on VirtualBox

      Installing Ubuntu on real hardware works the same. Installing VirtualBox itself isn't part of the demo.

      Also check out how to share files from the host with the guest OS. so you can edit in Windows but compile under Linux.

      I couldn't show the Windows example because that VirtualBox is actually running on Linux (of course).

    2. Second choice: a light or a heavy glue layer. MinGW-w64 is the lightest.

      MinGW-w64 - g++ on a glue layer on Windows

      Not perfect for the C++ course, but certainly less resource-hungry than VirtualBox. And no extra hadware needed.

Shell Use

  1. Builtins

  2. Commands

  3. Tab completion

  4. Filesystem

  5. History

  6. Command Anatomy

  7. I/O Redirection

  8. Job Control

  9. Configuration

  10. Environment Variables