"Claudio Varini" <va****@physik.uni-bielefeld.de> wrote in message
news:41***************@physik.uni-bielefeld.de...
Hallo,
is the use of argc and argv to pass input parameters "object oriented"?
Or in C++ is better to use other approaches (es the command cin)?
Those command line parameters are simply a count of the number of parameters
and an array of that many character arrays. You simply treat them as
variables. They're not objects, and they also can't be "read" using cin.
When main() executes, they're passed in as parameters to that function, just
like parameters to any other function. What is it you are trying to do?
(You should be able to find many examples of using those if you search the
web. Try groups.google.com.)
-Howard