i want to use a string which includes a path to a folder several times for linking to different files that shall be copied. The path might change from machine to machine and the user is able to set it.
at the moment I am using
which of course does not work becauseCode:CopyFileA(strcat(path,"file1"),.....); CopyFileA(strcat(path,"file2"),.....); and so onoverwrites path after each call - so forCode:strcatit is not useable any more.Code:file2
is there a more comfortable way instead of e.g. defining a char variable for each file and copying the "initial" path once in it?
Thanks for your answers...