#include #include int main() { using namespace std; if (rename("test.txt", "save.txt") != 0) { cerr << "Datei konnte nicht umbenannt werden.\n"; } }