Lab 8: Overview

This lab shows methods of deleting (unlinking) a file or erasing data in an existing file.

Lab 8 Resources

  • unlink function (Microsoft)

  • remove function (Microsoft)

  • open function (Microsoft)

  • open function (Code Wiki)

Goals for Lab 8

During this lab, you will learn how to use:

  1. unlink() to delete a file.

  2. remove() to delete a file.