1.13 of lecture notes
This commit is contained in:
@@ -102,7 +102,7 @@ Now let's write a brand new C++ program to learn about command line
|
|||||||
arguments. First open up a brand new file named `silly.cpp`.
|
arguments. First open up a brand new file named `silly.cpp`.
|
||||||
Include <iostream> at the top of the file.
|
Include <iostream> at the top of the file.
|
||||||
|
|
||||||
Read this [Programming Information](https://www.cs.rpi.edu/academics/courses/fall23/csci1200/programming_information.php) explaining command line arguments in C++. You may also want to refer to 1.12 and 1.13 for array syntax.
|
Read this [Programming Information](https://www.cs.rpi.edu/academics/courses/fall23/csci1200/programming_information.php) explaining command line arguments in C++. You may also want to refer to 1.13 of the lecture notes for array syntax.
|
||||||
|
|
||||||
- To start, let's write a program that expects only integers on the
|
- To start, let's write a program that expects only integers on the
|
||||||
command line, and it will print the product (multiplication) of those
|
command line, and it will print the product (multiplication) of those
|
||||||
|
|||||||
Reference in New Issue
Block a user