Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
GetExtension is a file I/O std::string code snippet to get a filename's extension.
Thanks goes to Curtis Krauskopf, who supported me to improve the (terrible and error-prone) STL version GetExtension.
Operating system(s) or programming environment(s)
Libraries used:
include(../../ConsoleApplication.pri) #Or use the code below |
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
This page has been created by the tool CodeToHtml