|
You are here |
ericniebler.com | ||
| | | | |
eyakubovich.github.io
|
|
| | | | | It's a simple task -- you want iterate over all the lines in a file and perform an action on each one. In Python it's as simple as:for line in open("somefile.txt"): print lineHow about C++11. How hard can it be? This stackoverflow post gives us a starting point. We... | |
| | | | |
herbsutter.com
|
|
| | | | | This special Guru of the Week series focuses on contracts. We covered some basics of preconditions in GotW #100. This time, let's see how we can use preconditions in some practical examples... 1. Consider these functions, expanded from an article by Andrzej Krzemie?ski: [1] ... How many ways could a caller of each function get... | |
| | | | |
hackingcpp.com
|
|
| | | | | Introduction, examples and visual explanations of the basic principles behind C++ standard library algorithms. | |
| | | | |
vickiboykis.com
|
|
| | | What are they? Why are they? | ||