(C++) std::remove

January 30, 2018 ยท View on GitHub

There exist two different versions of std::remove in the STL:

  1. std::remove in the header file algorithm.h: algorithm to remove elements from a container
  2. std::remove in the header file cstdio.h: File I/O function to remove a file

Examples

  • std::remove example 1: basics