K
karch
Thanks to everyone who has helped with some of my elementary questions about
C++/CLI equivalents to C#. I have a few more items that are giving me
headaches. All help is appreciated. What is the proper way to convert the
following?
1) data.ForEach(delegate(int num)
{ formatter->Serialize(stream, num); } );
(basically how are delegates implemented in C++/CLI)
2) return result as Dictionary<string, int>;
(how is this dynamic_cast performed?)
3) How do I pass an "array<int>^ myArray" into a method that takes an
integer array as an argument? Do I just pass the first element of the array,
like so: myArray[0]?
Thanks again for all the help
Karch
C++/CLI equivalents to C#. I have a few more items that are giving me
headaches. All help is appreciated. What is the proper way to convert the
following?
1) data.ForEach(delegate(int num)
{ formatter->Serialize(stream, num); } );
(basically how are delegates implemented in C++/CLI)
2) return result as Dictionary<string, int>;
(how is this dynamic_cast performed?)
3) How do I pass an "array<int>^ myArray" into a method that takes an
integer array as an argument? Do I just pass the first element of the array,
like so: myArray[0]?
Thanks again for all the help
Karch