Good morning,
I am using C++ .NET on WinXP to create a small GUI application for a group project. (I chose C++ .NET for ease of GUI creation.) My partners have written a tree class in C++. I have added the file to the project, but now I am stuck. I can't figure out how to pass managed objects to the unmanaged tree. I made a struct to be stored in the tree. The struct definition is:
My tree delarations is:
I need to know how to store the structs in the tree.
Any help would be greatly appreciated.
Thanks,
Kenneth
I am using C++ .NET on WinXP to create a small GUI application for a group project. (I chose C++ .NET for ease of GUI creation.) My partners have written a tree class in C++. I have added the file to the project, but now I am stuck. I can't figure out how to pass managed objects to the unmanaged tree. I made a struct to be stored in the tree. The struct definition is:
Code:
ref struct SoftwarePackage
{
String^ id;
String^ name;
String^ version;
String^ quantity;
String^ price;
};
Code:
MDBST<SoftwarePackage> tree;
Any help would be greatly appreciated.
Thanks,
Kenneth