From C# to C++

Started by
1 comment, last by Meshboy 15 years, 5 months ago
Okay, here comes another one. in my FPS game in C# i have a global <List> with all my walls. how can i do this in C++ and DirectX? I have a class that is called plane and i want to add all these in a collection and be able to iterate through them. Like: List<types.plane> planes = new List<FPS.types.plane>();
Advertisement
You can use any of the STL sequence containers, depending on your exact needs. Ex:
std::vector<Plane> planes;
thanks mate

This topic is closed to new replies.

Advertisement