operations involving arrays

Jun 26, 2009 at 2:15am
a.) filling or storing elements
b.) retrieving elements
c.) reading an element
d.) Replacinbg an element
e.) sorting the elements
f.) copying an array

any e books suggestions? and websites?
Jun 26, 2009 at 3:04am
See the tutorial. Everything but e and possibly f should be explained there.
Jun 26, 2009 at 10:55am
There's this book "Data Structures with C++" by Sartaj Sahni, Ellis Horowitz, and one more author. They've discussed these operations in first chapters of the book.
Jun 29, 2009 at 4:44pm
Every book that has "data structures" in the title discusses these. Most (beginning) C++ books, like this site, discuss everything in the list as well.
Jun 29, 2009 at 10:26pm
Check out the algorithm references here:
http://cplusplus.com/reference/algorithm
a) fill, fill_n, generate, generate_n
d) replace
e) sort, stable_sort
f) copy,

Those are just a few examples of algorithms that work just fine with any kind of array.
Topic archived. No new replies allowed.