|
|
> Really? C has no array handling libraries whatsoever (standard C, that
> is).
> The core language has exactly one type of array. (Ok, two if you count
> dynamically allocated and statically allocated arrays as distinct,
> although
> they behave basically in the exact same way.)
>
> The C++ standard libraries have two data containers which could be
> considered "arrays" (std::vector and std::deque). Perhaps three if you
> count std::string. They are pretty straightforward and well-defined.
Yep, and then when you start using .net managed C++ there is the original
.net way of creating arrays, and then the new way...
The problem is when using pre-written code and you're not sure which method
it's using, you have to search back for statements like this:
String[,,] s = new String[5, 3, 10];
vector<int> iV(x, y);
array<int>^myIntArray = {1,2,3,4,5};
Then try and work out what's going on...
Post a reply to this message
|
|