C语言函数大全.CHM

时间:2011-09-24 05:44:58
【文件属性】:
文件名称:C语言函数大全.CHM
文件大小:132KB
文件格式:CHM
更新时间:2011-09-24 05:44:58
C语言函数 大全 CHM 中文版 C语言函数大全,CHM,中文版。 C语言各种函数具体描述,有例证. 函数名: bar 功 能: 画一个二维条形图 用 法: void far bar(int left, int top, int right, int bottom); 程序例: #include #include #include #include int main(void) { /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int midx, midy, i; /* initialize graphics and local variables */ initgraph(&gdriver, &gmode, ""); /* read result of initialization */ errorcode = graphresult(); if (errorcode != grOk) /* an error occurred */ { printf("Graphics error: %s\n", grapherrormsg(errorcode)); printf("Press any key to halt:"); getch(); exit(1); /* terminate with an error code */ } midx = getmaxx() / 2; midy = getmaxy() / 2; /* loop through the fill patterns */ for (i=SOLID_FILL; i { /* set the fill style */ setfillstyle(i, getmaxcolor()); /* draw the bar */ bar(midx-50, midy-50, midx 50, midy 50); getch(); } /* clean up */ closegraph(); return 0; }

网友评论

  • 只有目录,打不开网页,不好使
  • win7下面右键属性,解除锁定后就可以看了。里面的内容只有b-w字母索引的,内容不太全,有些语法着色了,有些没有,期待改进~ 非常感谢分享~
  • win7下用不了!全是“已取消到该网页的导航”!
  • 很实用的新手工具!!
  • 找了半天终于找到一个,下载下来居然看不了。。。不懂。。
  • c语言开发大全很早就想要了。终于找到了,但是只有A-Z的字母索引。