Главная страница | назад





Article #15698: argv argc in WIN16

 Question and Answer Database

FAQ698C.txt   argv argc in WIN16
Category   :C/C++ Language Issues
Platform    :Windows 3.1
Product    :   BC++4.5x   BC++5.x   TC++Win4.5

Question:

How do I use argv and argc in a 16 bit windows app?

Answer:

Simply make sure that argv and argc are declared globally as
follows:
         extern char **_argv;
         extern int  argc;
 

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99