Skip to main content Skip to navigation

Day 1: Version Control with Git and Procedural C++

Introduction

A short overview of the course aims, content and links to useful resources (PDF Document)

Demystifying Git &

Version control with Git

We begin by looking at how to keep track of changes to your work using a version control system (PDF Document), including a walkthrough exercise using git for basic version control and interacting with a remote repository (PDF Document)

Introducing C++

The second part of the day introduces C++. We look at the basic structure and syntax of a program in C++ and begin to implement a very basic program and compile it into an executable (PDF Document)

Program flow control in C++

The next C++ topic is how to control the flow of our mpags-cipher program with conditionals and loops (PDF Document)

Vectors

The next C++ topic is to introduce the concept of containers, specifically the std::vector (PDF Document)

Command-line arguments

Finally we examine how to feed information into our mpags-cipher program using command-line arguments (PDF Document)

 

Resources

Sign up for a Github account

Link to create repository for today: https://classroom.github.com/a/P7HcZiK0