C语言大学实用教程(第5版)-教学课件第1章 程序设计ABC.pptVIP

  • 4
  • 0
  • 约6.8千字
  • 约 34页
  • 2023-03-04 发布于广东
  • 举报

C语言大学实用教程(第5版)-教学课件第1章 程序设计ABC.ppt

HIT-C Programming Preprocess Instruction #define is used to declare macro constants Example: #include stdio.h #define PI 3.141593 int main(void) { float luas; luas = PI * 7 * 7; printf(“Luas %.2f:”, luas); return 0; } Macro constant Before preprocess HIT-C Programming Preprocess Instruction #define is used to declare macro constants Example: #include stdio.h #define PI 3.141593 main() { float luas; luas = PI * 7 * 7; printf(“Luas %.2f:”, luas); } Macro constant Before preprocess Example: #include stdio.h #define PI 3.141593 in

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档