Hi guys so I wrote a program in c++ which can me started with debugging arguments trough cmd. For example:
example.exe filepathoftxtfile
the program opens and reads the txt file. It all works fine but if the txt file lies in a path which includes spaces for example C:/Users/Jhon/test 4/space 4 the program detects it as more than one arguments because of the spacebar. Is there any way I can put in arguments in the debugging arguments and ignore the spaces for that single argument? Another thing is that I have to change the \ of the filepath to / that the program actually finds it. Is there any way I can change that?