淡定从容,宁静致远
全部博文(329)
发布时间:2012-12-12 21:06:28
#include <stdio.h>#include <stdlib.h>#include<time.h> #define SIZE 20 typedef struct goods{ char good_name[SIZE]; float price; float count; float sum;}GOOD; typedef struct menu{ char super_name[SIZE]; char name[SIZE]; char money_type[SIZE]......【阅读全文】
发布时间:2012-12-12 20:43:55
#define PI 3.14const float PI=3.14; #define M (2+3) M*M --> (2+3)*(2+3) #define MAX(a,b) ((a) > (b) ? (a) : (b)) int MAX(int a,int b){ return a > b ? a : b;} #define INT floatINT i; ---> float i; typedef int INT;INT i ---> int i; t......【阅读全文】