Research Computing: Introduction to C++
Tutors: Dr Yiannis Simillides and Hisham Abdel Aty (GTA’s)
Course Level: Level 1
Prerequisites: Familiarity with basic programming concepts (variables, data types, loops, conditionals, functions) is required. If you are new to programming, we recommend that you either take our online Introduction to Python (for credit) or study the pre-course materials and video (to benefit fully, you must complete all exercises).
Duration: 3 x 2 hour sessions
Format: Live online or live face to face with 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, and to read and be able to use C++ code others have written. 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, loops, conditionals, functions
- Importing libraries
- Error messages
- Navigating larger C++ libraries and projects
- Understanding C++ in practice
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.
Dates & Booking Information
|Monday 09 May 2022 (Part 1)
Tuesday 10 May 2022 (Part 2) &
Wednesday 11 May 2022 (Part 3)
Please email the Graduate School with your CID number to book your place.