#include "stdafx.h"
#include "windows.h"
#include "iostream"
#include "stdlib.h"
#include "climits"
#include "string"
using namespace std;
struct act
{
char ch[101];
float a;
double c;
};
int main(int argc, char* argv[])
{
act ch1=
{
"asdasdasd",
1.0,
2
};
system("pause");
return 0;
}
结构体定义
最新推荐文章于 2024-01-28 21:06:11 发布