question

Nov 17, 2012 at 11:32am
Linked list and Dynamic arrays and sorting(bubble sort,etc...)
are 1)C or 2)C++ or 3)C and C++ stuff?

I ask because c++ use STL vecotrs for dynamic arrays,std::list for linked list and alogrithms for sorting,etc.....

So {Linked list and Dynamic arrays and sorting(bubble sort,etc...) }

Are c++ stuff or only low-level( C ) stuff?
Nov 17, 2012 at 11:43am
They are general words, not specific to any particular language.

std::list is an implementation of linked lists.
std::vector is an implementation of dynamic arrays.
std::sort is a function that can be used for sorting. The exact algorithm used depends on the implementation.
Last edited on Nov 17, 2012 at 12:35pm
Topic archived. No new replies allowed.