Thread: Retrieve data
View Single Post
  #1 (permalink)  
Old November 5th, 2004, 09:33 PM
Snib Snib is offline
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default Retrieve data

Hello,

I'm quite new to C++, and am using it in the command line.

My problem is, to call an .exe file with a parameter you would do this:

c:\>program.exe file.txt

to pass a text file to it.

Is it possible for a C++ application to retrieve the data in that parameter?

Thanks and sorry if this is a simple question.

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
__________________
-Snib - http://www.snibworks.com
Where will you be in 100 years?
Reply With Quote