相关代码 |
|
//: C03:ArgsToInts.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt // Converting command-line arguments to ints #include #include using namespace std; int main(int argc, char* argv[]) { for(int i = 1; i < argc; i++) cout } ///:~
相关资源 |
|