Collections in C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

--
hello

In Visual Basic you can keep track of Objects of Classes with Collections. I
believe this is from MV C++.

I want to know is Collections used in C++ everywhere and if not how can you
keep track of many objects?

thanks
 
If you are talking about .NET, the exact same collections that you
already know from VB.NET are also available in MC++ (VS2003) and C++/CLI
(VS2005). ArrayList, IEnumerator, etc. If you are interested about a
more powerful approach, which will be available in the near future,
here's a great article:
http://msdn.microsoft.com/visualc/default.aspx?pull=/library/en-us/dnvs05/html/stl-netprimer.asp

If you are talking about standard (unmanaged) C++, there are the STL
containers. For that I recommend the book Effective STL by Scott Meyers.

Tom

john andrew wrote:
 
john andrew said:
--
hello

In Visual Basic you can keep track of Objects of Classes with Collections. I
believe this is from MV C++.

I want to know is Collections used in C++ everywhere and if not how can you
keep track of many objects?

thanks
Are you referring to the .NET Windows Forms template available in C++? If
so, you can use the same collection classes that any other .NET language
would use.
 
Back
Top