I've tried a few different methods that i've found on the internet, but none have worked so far.
I'm attempting to save multiple files being lead by a string from within the program, based on the integer of a global variable.
I've tried something with Casting, Tried itoa and messed with pointers, None of them worked.
Most of the time, The compiler gives me an error of invalid conversion,
or the program crashs when I attempt to use the function.
I've ran out of ideas and came here hoping for some guidance.