summaryrefslogtreecommitdiffhomepage
path: root/make.html.markdown
diff options
context:
space:
mode:
authorMario <duhanic@gmail.com>2017-09-12 10:21:23 +0200
committerven <vendethiel@hotmail.fr>2017-09-12 08:21:23 +0000
commitcd379d9e9eff734ae02708ba986b0fde1fa52d33 (patch)
treeb89b09f7641580f56d0eb7342e5f838e7581d2f0 /make.html.markdown
parenta148661c74b8bd5e9189d8fcb43dbb42c4ab10ec (diff)
[c++/en] container -> vector (#2838)
* container -> vector fixed errors: - "vector_name" and "Vector_name" (different case) would have resulted in a compile time error, now: "my_vector" enhancements: - typedef for consistency - two push_backs to show its purpose - both iteration types now have a working execution block (both output the vector's content) - the first "classic loop" now also shows the operator [], which therefor is removed from below - include and for with a white spaces for readability * removed the typedef the `typedef` was used to show that we will be using `string` as our base for all operations, but we are free to use any other type; of course it is technically not needed and might look like a redundancy. the two `cin` also look redundant, so I changed this into one `cin` and two `push_back`s
Diffstat (limited to 'make.html.markdown')
0 files changed, 0 insertions, 0 deletions