C++ Programming: Manipulating Objects


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To provide the student with the skills required to use dynamic memory allocation in C++

Target Audience
Students with knowledge of structured programming techniques

Prerequisites
Some experience of C or another structured programming language

Expected Duration (hours)
3.3

Lesson Objectives

C++ Programming: Manipulating Objects

  • give a brief account of pointers.
  • identify how arguments are passed to called functions in C++.
  • outline how a this pointer is used to reference objects.
  • outline how the new and delete keywords can be used to allocate memory dynamically.
  • recognize a program that uses a dynamically created object and outline how to write a program using dynamically allocated memory.
  • give an account of linked lists and fixed arrays and outline how pointers are used in creating and maintaining a linked list.
  • outline how nodes can be added to the head of a linked list.
  • identify methods of traversing and deleting a linked list.
  • outline how to implement a linked list and write code to add or remove nodes of a linked list.
  • create a linked list in C++.
  • Course Number:
    116673_eng