如何转换这种类型的数组? [英] How to convert this type of arrays?
本文介绍了如何转换这种类型的数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我希望将以下数组转换为C ++ / CLI ...有人可以帮助我吗?
谢谢
Hi I wish to convert this following arrays into C++/CLI ...Does anybody can help me?
Thanks
Object[,] ArrWordList = gcnew Object[,] { { 0, "" }, { 1, "One" }, { 2, "Two" }, { 3, "Three" }, { 4, "Four" }, { 5, "Five" }, { 10, "Ten" }, { 20, "Twenty" }, { 30, "Thirty" }, { 40, "Forty" }, { 50, "Fifty" } };
再次感谢
Thanks Again
推荐答案
这看起来像一个字典c ++中的
或map
: http ://www.cprogramming.com/tutorial/stl/stlmap.html [ ^ ]
This looks like adictionary
ormap
in c++ : http://www.cprogramming.com/tutorial/stl/stlmap.html[^]
这篇关于如何转换这种类型的数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文