Allan Woloshin

Subscribe to Allan Woloshin: eMailAlertsEmail Alerts
Get Allan Woloshin: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Allan Woloshin

While moving from C++ to C# means giving up template-based containers, that doesn't mean you can't effectively organize your data. And like C++, C# collections have some unique benefits. The concept of computerized arrays has been around almost as long as computers themselves. It allows a program to deal with large quantities of data almost as simply as dealing with a single unit of data. It underlies almost all sorting algorithms. C++, like most other languages, has built-in language support for arrays. In C++, arrays are always one-dimensional - but you can allocate arrays of arrays to counter that fact. The name of an array is almost always converted into a pointer to its first element, and most array operations work equally well on pointers. For nonrectangular arrays, C++ works equally well with arrays of pointers - allocating and freeing the odd-shaped array ca... (more)