Command line argument ending with a slash and quote

Started by drhoule, October 04, 2013, 12:38:54 PM

Previous topic - Next topic

drhoule

int main( int argc , char **argv);

If the argument is "C:\New Dir\" the result is argv[1]=C:\New Dir"

Something I am doing wrong?

Dr

TimoVJL

Quote from: drhoule on October 04, 2013, 12:38:54 PM
int main( int argc , char **argv);

If the argument is "C:\New Dir\" the result is argv[1]=C:\New Dir"

Something I am doing wrong?

Dr
Here is useful info for that.
May the source be with you