上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 82 下一页
摘要: float a[3][3];for(i=0;i<3;i++)  for(j=0;j<3;j++)  scanf("%f",&a[i][j]); 阅读全文
posted @ 2010-03-16 12:00 greencolor 阅读(110) 评论(0) 推荐(0) 编辑
摘要: conio.h is a non-standard header. It worksmostly on DOS platforms. If you want to include conio.h to clear the screen (i.e use clrscr() ) then you can instead use `system("clear");`. 阅读全文
posted @ 2010-03-15 23:37 greencolor 阅读(152) 评论(0) 推荐(0) 编辑
摘要: *win-tc*/#include <stdio.h>#include <malloc.h>#include <stdlib.h>#define Esc 27 /*定义键盘退出键Esc*/#include"ctype.h"#define NULL 0#define LEN sizeof(struct student) struct student { long ... 阅读全文
posted @ 2010-03-15 21:19 greencolor 阅读(234) 评论(0) 推荐(0) 编辑
摘要: touch 文件名 阅读全文
posted @ 2010-03-13 11:36 greencolor 阅读(1595) 评论(0) 推荐(0) 编辑
摘要: 安装依赖包 // Anjuta IDEsudo apt-get install anjuta // Build tools sudo apt-get install autogen automake build-essential indent intltool sudo apt-get install gnome-core-devel sudo apt-get install pkg-confi... 阅读全文
posted @ 2010-03-13 11:29 greencolor 阅读(332) 评论(0) 推荐(0) 编辑
摘要: $(name) or${name}CCProgram for compiling C programs, default 'CC'CXXProgram for compiling C++ programs, default 'g++'CPPProgram for running C preprocessor, default '$(CC) -E'FCProgram for running Fort... 阅读全文
posted @ 2010-03-13 00:41 greencolor 阅读(169) 评论(0) 推荐(0) 编辑
摘要: allDo everythingcheckPerform some self test after building the programcleanDelete all files created by makedistcleanDelete more files than clean, could delete the Makefile itselfdistCreate a distribut... 阅读全文
posted @ 2010-03-13 00:39 greencolor 阅读(95) 评论(0) 推荐(0) 编辑
摘要: GCC编译C源码有四个步骤:预处理-----> 编译 ----> 汇编 ----> 链接c-i, i-s, s-o, o-exe-E -S -C*.o -o *.exe现在我们就用GCC的命令选项来逐个剖析GCC过程。1)预处理(Pre-processing)在该阶段,编译器将C源代码中的包含的头文件如stdio.h编译进来,用户可以使用gcc的选项”-E&rdquo... 阅读全文
posted @ 2010-03-12 22:18 greencolor 阅读(211) 评论(0) 推荐(0) 编辑
摘要: void itoa(int n,char s[]) { int i,sign; if ((sign=n) <0) n=-n; i=0; do { s[i++]=n%10+'0';} while ((n/=10)>0); if (sign <0) s[i++]='-'; s[i]='\0'; reverse(s); } 阅读全文
posted @ 2010-03-12 13:13 greencolor 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 指针可以指向基本类型,也可以指向复合类型,因此也可以指向另外一个指针变量,称为指向指针的指针。 阅读全文
posted @ 2010-03-12 02:07 greencolor 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 82 下一页