用BC3.1精简编译一个C文件.docVIP

  • 11
  • 0
  • 约 19页
  • 2016-11-23 发布于贵州
  • 举报
用BC3.1精简编译一个C文件

23#include stdio.h #include conio.h void main() { int a,b,sum; a=123; b=456; sum=a+b; printf(sum is %d\n,sum); getch()(); } 可以看得到输出....等级不够...本来想给你看截图的... getch()(); 是用来暂停屏幕的... 如果还不行,果断换个vc6.0 /s/blog_9cc4819101013pt9.html嵌入式实时操作系统μC/OS原理与实践 C语言程序设计教程(第二版)习题解答与实验指导 /BLOG_ARTICLE_242027.HTM Borland C++ 3.1调试ucos (1) struct{ int x; int y; }test1; 好,定义了 结构 test1, test1.x 和 test1.y 可以在语句里用了。 (2) struct test {int x; int y; }test1; 好,定义了 结构 test1, test1.x 和 test1.y 可以在语句里用了。 与 1 比,省写 了 test (3) typedef struct test {int x; int y; // 你漏打分号,给你添上 }text1,text2; 只说了 这种结构 的(类型)别名 叫 text1 或叫 text

文档评论(0)

1亿VIP精品文档

相关文档