Description:

The C++ programming language and its C subset is used extensively in research environments. In particular it is the language utilised in the parallel programming frameworks CUDA, HIP, and OpenCL.

Topics to be covered are as follows:

  • Making code understandable with comments
  • Statements and code blocks in C++
  • How integers and floats encode and approximate information.
  • Using functions
  • How to print values for debugging
  • Basic math operators in C/C++
  • Flow control such as if statements and for loops
  • Arrays and memory allocations
  • Static and dynamic memory allocation
  • Multi-dimensional array representations
  • Strings
  • Reading and writing binary data
  • Compiling C++ source code
  • Debugging with the GDB debugging tool
  • Matrix multiplication with C++

Start: Thursday, 11 May 2023 @ 09:00

End: Thursday, 11 May 2023 @ 13:00

Duration: 4 hours

Timezone: Perth

Learning Objectives:

This workshop is designed to equip participants with “Survival C++”, an understanding of the basic syntax, how information is encoded in binary format, and how to compile and debug C++ software.

Eligibility:
  • Open to all

Organiser: Pawsey Supercomputing Research Centre

Contact: training@pawsey.org.au

Host institution: Pawsey Supercomputing Research Centre

Keywords: supercomputing, Programming, C/C++

Capacity: 20

Event type:
  • Workshop

Cost Basis: Free to all

Related training materials:
Survival C/C++ https://dresa.org.au/events/survival-c-c The C++ programming language and its C subset is used extensively in research environments. In particular it is the language utilised in the parallel programming frameworks CUDA, HIP, and OpenCL. Topics to be covered are as follows: - Making code understandable with comments - Statements and code blocks in C++ - How integers and floats encode and approximate information. - Using functions - How to print values for debugging - Basic math operators in C/C++ - Flow control such as if statements and for loops - Arrays and memory allocations - Static and dynamic memory allocation - Multi-dimensional array representations - Strings - Reading and writing binary data - Compiling C++ source code - Debugging with the GDB debugging tool - Matrix multiplication with C++ 2023-05-11 09:00:00 UTC 2023-05-11 13:00:00 UTC Pawsey Supercomputing Research Centre Pawsey Supercomputing Research Centre training@pawsey.org.au [] [] 20 workshop open_to_all supercomputingProgrammingC/C++