Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alvarez, Gonzalo
PsimagLite
Commits
d2404965
Commit
d2404965
authored
Oct 05, 2020
by
Alvarez, Gonzalo
Browse files
tutorial: lesson 1 InputNg has more exercises
parent
e6ca645f
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/tutorial.ptex
View file @
d2404965
...
...
@@ -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}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment