diff --git a/index.org b/index.org index 70a88f8..36d5ff0 100644 --- a/index.org +++ b/index.org @@ -57,3 +57,9 @@ + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/arrayofarrays.cpp an examples of how an array of strings would work, this example shows how to find the acrostic of a set of sentences (well, just individual words you can change the code to use getline to make it work with whole sentences) + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/whileArray.cpp this is an example of how to traverse an array only *partially* with a while-loop rather than a for loop + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/palWithSpaces.cpp an example of how to solve discussion for in a single while loop ++ Lecture (3/11/2024) + + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/rectRef.cpp A file where we show more about pass-by-reference and give a taste of structs + + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/byRef.cpp A file where we show how to use pass-by-reference to simplify the logical structure of a file + + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/byVal.cpp A file where we show a pass-by-value version of the above program + + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/arrayRef.cpp Hey, why don't you have to pass arrays by reference?? + + https://tildegit.org/left_adjoint/cs161AWinter2024/src/branch/main/arrayTheTruth.cpp /Arrays were pointers all along/