how to read an argument from the terminal in visual c++ studio
I have made some searching in google about this problem but could not find an answer
My problem is following:
I want to read the name of a file when i run a program in visual c++ express studio
fp = fopen(argv, "r"); // the name of the program, read from terminal
in linux i know how to do but in visual studio it seems more complex
The only thing i can see in the visual studio is start debuging and start without debuging.
Is there any way to read a value from terminal (like a filename for example) when you run a program in visual c++ express studio?