Functions | |
void | reverse_generations (char *generations) |
Reverses the order of characters in a string. | |
bool | file_exists (const char *filename) |
Checks if a file exists. | |
bool file_exists | ( | const char * | filename | ) |
Checks if a file exists.
filename | The path to the file to check. |
true
if the file exists, false
otherwise. void reverse_generations | ( | char * | generations | ) |
Reverses the order of characters in a string.
This function is used to reverse the generation sequence during decryption.
generations | The string to reverse (modified in place). |