C#調用 C++ 結構體數組

C++ 結構體定義和賦值code typedef struct { char barcode[13]; int num; }Goods; extern "C" __declspec(dllexport) bool getGoods(Goods* pGoods) { for (int i = 0; i<2; i++) { sprintf(pGoods[i].barcode, "12345
相關文章
相關標籤/搜索