In my program it requires a file to be saved to a folder. Since i use this folder so often i want to know how to make a pre-set file path. When i try this code(This is just a piece of the whole thing), It won't output the file.
As for the 2 apostrophes, it's because \ is an escape character, ie it's used to indicate a non-writable character.
If that's a problem, you can also write "C:/sharing folder/"
use double '\' to represent an actual backslash character. Otherwise the compiler tries to interpret the '\' together with the next character, for example '\n' or '\0' etc.