?? lt614.c
字號:
# include "stdio.h"
struct student
{ char name[10];
char sex;
int No;
int age;
float score;
};
void main( )
{
struct student stu1,*p;
p=&stu1;
strcpy(stu1.name,"chenjian");
stu1.sex='M';
stu1.No=2001;
stu1.age=18;
stu1.score=92.5;
printf("\n姓名:%s\n性別:%c\n學號:%d\n年齡:%d\n成績:%5.2f\n",
(*p).name,(*p).sex,(*p).No,(*p).age,(*p).score);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -