Research Computing: Introduction to C++
Tutors: Ms Natalia Wojcicka
Course Credit: 1 Credit
Course Level: Level 1
Prerequisites: No previous programming experience is assumed or required
Duration: 3x 2 hour sessions
Format: Microsoft Teams with live teaching and hands-on practice
C++ is a general-purpose coding language first developed in 1979 as an extension to C. Today, it has been significantly updated to include modern programming features and is heavily used for scientific computing applications in several fields due in part to its fast performance. As a result, C++ is frequently used in computationally intensive areas including high performance computing.
This course will cover the basics of how to write a C++ source file utilising the basic constructs of the language, to compile and run the code and to troubleshoot common errors. The course will be delivered through a combination of slides, demonstrations and hands-on practicals.
- What is coding?
- What is C++?
- What is the compiler and how do we use it?
- My first program
- Variables and assignment
- Importing libraries
- Error messages
After completing this workshop, you will be better able to
- Define the terms source file, compiler, and executable,
- Use a compiler to create and run simple codes,
- Apply fundamental components of the C++ language including variables, loops, and conditionals,
- Create programs designed to solve simple numerical problems,
- Interpret common compiler and run-time errors and use these to help debug a program.
|Monday 17 May 2021, 10:00-12:00 (Part One)
Tuesday 18 May 2021, 10:00-12:00 (Part Two)
Wednesday 19 May 2021, 10:00-12:00 (Part Three)
Students must attend all three parts to be awarded the course credit.