Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
GetCurrentFolder is a file I/O code snippets to obtain the name of the folder your application runs in.
#include <iostream> |
Screen output:
/home/richel/qtsdk-2010.04/bin/Projects/Website/CppGetCurrentFolder-build-desktop |
This version is more elegant and portable.
#include <cassert> |
Screen output:
/home/richel/qtsdk-2010.04/bin/Projects/Website/CppGetCurrentFolder-build-desktop |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.