Discussion :: Command Line Arguments
-
Does there exist any way to make the command-line arguments available to other functions without passing them as arguments to the function?
Answer : Option A
Explanation :
Using the predefined variables _argc, _argv. This is a compiler dependent feature. It works in TC/TC++ but not in gcc and visual studio.
Be The First To Comment