i'm using the method
void main(int NumberOfArguments, char* Arguments[])
{
}
to accept a list of input arguments which contain filenames.
1. How do i address these variables with fopen('filename', 'accesstype') such that i am sending the actual array of char to the 'filename' variable instead of it's memory address?
The filenames are using the drive:/path/*/filename method to avoid double backslashes.
2. Is it possible for the filename to contain spaces without them being assigned as a new argument?
3. Is the variable in Arguments[0] always the name of the program and Arguments[1] the first argument?
Thanks in advance,
Shaun



LinkBack URL
About LinkBacks


