#include <stdio.h>
#include <iostream>
using namespace std;
typedef struct _ExceptName
{
char* a;
char* b;
} ExceptName, *PExceptName;
ExceptName cc[] =
{
{"123","456"},
{"777","888"}
};
int main()
{
int i =0 ;
for (i; i< sizeof(cc)/sizeof(ExceptName);i++)
{
printf("%s,%s\n",cc[i].a, cc[i].b);
}
system("pause");
return 0;
}
结构体数组
最新推荐文章于 2023-09-26 17:49:27 发布