7,540
社区成员
发帖
与我相关
我的任务
分享
typedef struct
{
int a;
int b;
}INFO;
int testStruct(INFO *info)
{
cout << "a = " << info->a << endl;
cout << "b = " << info->b << endl;
return 1;
}
public struct INFO
{
public int a;
public int b;
}
INFO info;
info.a = 1000;
info.b = 10;
ClrClass.test1(info);