I m creating a C++ program in Visual C++ 6.0 based on file handling!!

What I want to do is, I want the user to mention the file name during the command line thing!!

i..e if the user types: cl problem1 history.txt

My program opens the history.txt file in reading mode.

The thing is how do I, take this filename as arguement in my program!!