Hi,
I have check to see if the argument in argv[1] is valid for my file.
i have a menu system in its own sub-routine called in main.
Reading the file and so on is done in another sub-routine sepearte from the first, also called in main.
How can i transfer the argv[1] to the first sub-routine? Or even the second?
string sArgInit = argv[1]
This way i can open the file using a C-String.
But i cant get the string to any function outside of main..
is there a way to do this without: global varaibles, passing the string as an argument paramter to the sub-routine.