diff options
Diffstat (limited to '')
-rw-r--r-- | ee1301/wk5/lab4/pOc.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ee1301/wk5/lab4/pOc.cpp b/ee1301/wk5/lab4/pOc.cpp index 93dbb06..919806f 100644 --- a/ee1301/wk5/lab4/pOc.cpp +++ b/ee1301/wk5/lab4/pOc.cpp @@ -1,12 +1,12 @@ -#include <iostream> -using namespace std; - -int main(int argc, char* argv[]) { - - int i; - cout << "You typed the following on the command line:" << endl; - for (i = 0; i < argc ; i++) { - cout << argv[i] << ", "; - } - cout << endl; -} +#include <iostream>
+using namespace std;
+
+int main(int argc, char* argv[]) {
+
+ int i;
+ cout << "You typed the following on the command line:" << endl;
+ for (i = 0; i < argc ; i++) {
+ cout << argv[i] << ", ";
+ }
+ cout << endl;
+}
|