-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add ranged based for loop concept files #945
base: main
Are you sure you want to change the base?
Conversation
This might deserve a part on using it with |
Do you think we should change the current state further? The auto keyword comes a bit later in the syllabus, together with smart pointers. Maybe I should move them? |
Good point, I'm not sure. Maybe it should be introduced later, when they might actually mess it up :-) |
- `container`: The array or vector to loop over. | ||
|
||
## Example Usage | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This took me a minute to work out but I like it! :)
Maybe it would be worth saying...
In this code, we loop over each word, retrieving the first letter each time, to reveal the obscured password. | |
No description provided.