C
文章平均质量分 71
晓道明义
不慌不辍
展开
-
GCC
http://hi.baidu.com/ywdblog/blog/item/bd97b74b92055df382025c89.htmlgcc简介Linux系统下的gcc(GNU CCompiler)是GNU推出的功能强大、性能优越的多平台编译器,是GNU的代表作品之一。gcc是可以在多种硬体平台上编译出可执行程序的超级编译器,其执行效率与一般的编译器相比平均效率要高转载 2012-02-06 14:22:51 · 325 阅读 · 0 评论 -
C asci value
Control CharactersCharOctDecHexControl-KeyControl ActionNUL000^@Null characterSOH111^AStart of heading, = console interruptSTX222^BSta原创 2012-03-16 12:38:13 · 407 阅读 · 0 评论 -
glibc error
*** glibc detected *** free(): invalid pointer:*** glibc detected *** malloc(): memory corruption:*** glibc detected *** double free or corruption (out): 0x00000000005c18a0 ****** glibc detected转载 2012-03-27 03:55:42 · 379 阅读 · 0 评论 -
solve the problem showing bash-3.2
accidentally delete something i shouldn't. showing bash-3.2 without showing my own user name first in command line ls -a to check if ur .bashrc is still there if not copy from others account原创 2012-03-03 23:29:07 · 284 阅读 · 0 评论 -
mac os terminal basic command
http://apps.hi.baidu.com/share/detail/52231366转载 2012-03-04 00:51:16 · 422 阅读 · 0 评论 -
gdb
http://www.trucy.org/blog/archives/eoiae/000087.htmlpretty detailed information about gdb原创 2012-03-03 23:59:41 · 255 阅读 · 0 评论 -
Different between 0 '0' and NULL
Null PointersThe integer constant literal 0 has different meanings depending upon the context in which it's used. In all cases, it is still an integer constant with the value0, it is just described转载 2012-02-17 05:14:38 · 422 阅读 · 0 评论 -
C section 1.1 a
#include int main () { FILE *fin = fopen ("test.in", "r"); FILE *fout = fopen ("test.out", "w"); int a, b; fscanf (fin, "%d %d", &a, &b); /* the two input integers */ fprint原创 2012-02-01 14:01:03 · 568 阅读 · 1 评论 -
string function
http://zhwen.org/tools/clib/string/bcmp.html 原型:extern char *strcat(char *dest,char *src); 用法:#include 功能:把src所指字符串添加到dest结尾处(覆盖dest结尾处的'\0')并添加'\0'。 说明:src和dest所指内存区域不可以原创 2012-02-10 12:16:16 · 431 阅读 · 0 评论 -
printf output format
转换说明及作为结果的打印输出%a 浮点数、十六进制数字和p-记数法(C99)%A 浮点数、十六进制数字和p-记法(C99)%c 一个字符 %d 有符号十进制整数 %e 浮点数、e-记数法%E 浮点数、E-记数法%f 浮点数、十进制记数法 %g 根据数值不同自动选择%f或%e.%G 根转载 2012-02-10 12:09:21 · 343 阅读 · 0 评论 -
c programming 1
floating point exception the reason is divided by zero.after a afternoon's hard working, i get it ,so be aware of the variables that has different affect in different areas.#include#include#原创 2012-02-06 09:35:13 · 290 阅读 · 0 评论 -
C section 1.1 c
Hal Burch conducted an analysis over spring break of 1999 and made an amazing discovery: there are only 16 types of programming contest problems! Furthermore, the top several comprise almost 80% of th原创 2012-02-08 00:49:02 · 251 阅读 · 0 评论 -
C section 1.1 b
http://a280606790.iteye.com/blog/770314vim command /*ID:XiaoLANG:CTASK:ride*/#include#define M 6int main(){ int i; char one[M]; char two[M]; long原创 2012-02-02 12:26:33 · 326 阅读 · 0 评论 -
Make file Sample
target ... : prerequisites ... command command:make - make clean - # Makefile for items in /home/stanw/csci3550CPGMS = \recv0 \send0 \recv1 \send1原创 2012-04-08 21:52:22 · 270 阅读 · 0 评论