?? ex5-3.c
字號(hào):
#include<stdio.h>
#include<reg51.h>
struct mepoint {
unsigned char name[11];
unsigned char pressure;
unsigned char temperature;
};
struct mepoint po[3]=
{
{ "1stpoint", 0x99, 0x64 },
{ "2ndpoint", 0x10, 0x20 },
{ "3tdpoint", 0x15, 0x18 }
};
void main(void) {
unsigned char i;
printf("No. point pressure temperature \n");
for (i=0; i<3; i++)
printf("%bd %s %bx %bx\n",
i+1,po[i].name,po[i].pressure,po[i].temperature);
while(1);
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -