Commit d2404965 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

tutorial: lesson 1 InputNg has more exercises

parent e6ca645f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -148,5 +148,10 @@ Discuss the private members of your class, their memory usage, and lifetime.

4 Check the tutorial for memory leaks.

5 Define a C++ boolean variable hasTheString and after \verb!try!ing to read
mystring from the input file, set hasTheString to true if mystring was
actually present in the input, or false otherwise. Print the variable
hasTheString at the end of the tutorial. \emph{Hint: Make sure you understand
	how try/catch works in C++.}
\end{document}