This code generates a random string consisting of X characters, which then is utilized to rename your executable file post-execution.
giphy.mp4
Feel free to implement the provided code in your project and enjoy the excitement of having freshly generated names for your files every time you run it! While the code should work with various file extensions, please note that I have specifically tested it with executable files.
Requirements:
C++ 20
No other settings were changed.