[Dev-C++] how to acess kommandline parameters under Windows?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: George P. <gp...@gm...> - 2001-11-07 05:23:06
|
A console aplication with those lines in main() ...
int main( argc, argv[]){
int argc;
char *argv[]
while ( yylex() !=0 )
;
return 0;
}//main
... eats up all lines from a textfile when it gets called like
main_exe < textfile.txt
How do I acsess a Input file like the above under windows?
Where do these parameters (argc argv[]) hide in WinMain( ... ) ?
THANX
Gregor (pe...@in...)
|