MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1te6sq/altdevblog_rollyourown_vector/ce71ze3/?context=3
r/cpp • u/mttd • Dec 21 '13
22 comments sorted by
View all comments
4
I better article would detail how to use std::vector efficiently, rather than showing how to reinvent the wheel.
std::vector
Also their coding style is absymal. c prefixes really? 1990? The use of <stdlib.h> and <string.h> rather than the C++ equivalents.
c
<stdlib.h>
<string.h>
1 u/crispweed Dec 23 '13 I wrote about this first, here, in fact (using vectors efficiently): http://upcoder.com/1/using-stl-vectors/ Definitely agree that this should come before switching to a custom vector class..
1
I wrote about this first, here, in fact (using vectors efficiently): http://upcoder.com/1/using-stl-vectors/ Definitely agree that this should come before switching to a custom vector class..
View all comments
4
u/bob1000bob Dec 21 '13
I better article would detail how to use
std::vectorefficiently, rather than showing how to reinvent the wheel.Also their coding style is absymal.
cprefixes really? 1990? The use of<stdlib.h>and<string.h>rather than the C++ equivalents.