From: <Joh...@ao...> - 2001-11-23 01:48:18
|
#include <iostream.h> #include <stdio.h> //QUESTION: Using what feature on the compiler to enter the 'argv'? void main(int argc, char** argv) { int a = 10; int b = a + argc; cout<<" b = a + argc: "<<b<<endl; int d = a + int(argv);// cout<<" d = a + argv: "<< d<<endl; getchar(); } //I enter the 'argc' through the input of 'Parameter' Button then hit //the 'Exection' to run the program. But I dont know how/where to enter the //'argv' through the command line..... Very appreciate your help.......... |