Can anyone explain what are and how to use "argc" and "argv"?
It seems my new assignment is about "argc" and "argv", but I don't know what they are.
--
thanks guys but i still dont understand what's what. these are codes from my revision notes, anyone can explain which is which that has been explained below?
class Tank{
public;
int wheels;
};
int main(int argc, char* argv[1]){
Tank sherman;
sherman.wheels =12;
cout << "tank has " << sherman.sheels << "wheels" >> endl;
return 0;
}