views:

41

answers:

0

i am using Visual studio 8. i pass command line argument to my program when i execute the program using exe file it works fine but when i use to debugg. it is unable to open the input file which i have given it in the form of command line argument. although i have given the command line argument in the Project->properties->debug->command line arguments....

e.g input_file output_file

input file contains data which i have to use in the calculation if i am unable to debug it. how can i remove the errors in my program


i have changed the working directory and try to give the complete path still not working


reply me thanks