#include <stdio.h>
#include <string.h>
#include <windows.h>
#define TRUE 1
#define FALSE 0
typedef struct BOOK{
char name[40];
int val;
double money;
} Book;
int main(void){
SetConsoleOutputCP(65001);
Book book;
scanf("%s",&book.name);
printf("%s\n",book.name);
printf("TRUE的值是%d\nFALSE是%d",TRUE,FALSE);
}
c语言的typedef和define的demo
猜你喜欢
转载自blog.csdn.net/xuelang532777032/article/details/130157722
今日推荐
周排行