摘要:
#include<stdio.h> //联合体union union Data{ int i; float f; char ch; }; int main(int argc, const char *argv[]){ union Data data1; data1.i = 1; data1.f = 阅读全文
posted @ 2021-09-07 10:22
江南王小帅
阅读(342)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string>struct Student{ int num; char name[20]; char sex; int age; float score; char address[30];}; int main() { // 利用指针对结构体 阅读全文
posted @ 2021-09-07 08:47
江南王小帅
阅读(33)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string> struct Student{ int num; char name[20]; char sex; int age; float score; char address[30];}; //结构体传带指针的参数 void Print 阅读全文
posted @ 2021-09-07 08:44
江南王小帅
阅读(787)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string>struct Student{ int num; char name[20]; char sex; int age; float score; char address[30];}; int main() { { struct St 阅读全文
posted @ 2021-09-07 08:42
江南王小帅
阅读(54)
评论(0)
推荐(0)

浙公网安备 33010602011771号