- 博客(9)
- 资源 (51)
- 收藏
- 关注
原创 C中的const限定符与指针间的相互赋值
在C中,把一个指针q赋给另一个指针p(p = q)时要保证: p和q指向相容的类型 p和q所指的类型可以带限定符(const...)或不带 p所指的类型必须有q所指类型的所有限定符Example (char *) can assign to (const char *)
2008-03-27 10:59:00 2683
原创 Linux(Fedora 8)下如何播放mp3,wma
1.Install xmms xmms-mp3 xmms-wma Download form http://www.rpmfind.net/ 这样就已经可以播放mp3和wma音频文件了,问题只是中文歌曲名乱码,而且添加中文目录中的音频文件时目录名可能也是乱码。2.Configuration The current
2008-03-25 18:41:00 1814
原创 C语言中的命令行参数声明细节及使用示例
C语言中的命令行参数声明为int main(int argc, char *argv[]),或 main(int argc, char **argv),argc代表参数个数,argv为存储各个参数的字符字符指针数组。argv中有argc个元素,每一个元素为一字符指针,指向一个参数字符串。具体细节理解下例可知。commandLine.c#include #include int main(i
2008-03-23 21:48:00 1398
原创 C语言数组特性-取下标运算中的交换律----i[a] == a[i]
After the declaration and defination:int a[] = {1, 2, 3, 4, 5 };a + i equals i + a, they are pointers with the same value pointed to the array element a[i],so a[i] = i[a],(0 #include #include int m
2008-03-20 22:30:00 1278
转载 VIM教程
来自Unix-Center <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } H1 { margin-bottom: 0.08in; background: transparent } H1.western { font-fam
2008-03-18 17:11:00 1480
原创 C语言中的指针,数组,指针数组, 数组形式参数
指针数组Example:(run environment:gcc-4.1.2 on linux 2.6.23.1) pointerAndArray.c #include #include void pointerAndArray(void){ char *p[] = {"ab", "cde", "efgh"}; char q[][5] =
2008-03-18 13:43:00 1096
原创 xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed
yum --enablerepo=development update libxcb export LIBXCB_ALLOW_SLOPPY_LOCK=1
2008-03-14 22:11:00 1023
转载 学习Linux的7点忠告
来源:Fedora China1、不要“玩 Linux” 很多人用 Linux 的时候会感觉很迷茫,该用哪个发行呢?是不是我少装了什么?怎么升级这么快啊!怎么这么不稳定!每当遇到新的软件他就想试用,每当新的版本出现,他就更新,然后用鼠标在新的菜单里选择从来没见过的程序来用用。 其实你是为了Linux而使用Linux,而没有找到正确的理由来利用 Linux。你首先要明确用电脑的目的,你用它是
2008-03-09 18:42:00 659
Socket 编程参考资料
2010-10-31
VIM打包-V1.0
2010-10-01
我的VIM Plugin及配置文件-New
2010-09-29
Beejs Guide to Network Programming
2010-09-19
C++ Standard Library
2010-05-08
Introduction to Information Retrieval-信息检索导论
2010-01-22
Structure and Interpretation of Computer Programs
2009-09-11
Linux Driver Driver 3th & Essential Linux Device Driver
2009-09-05
S3c6410平台上Android移植
2009-09-02
HowTOGettingStartedonResearch
2009-07-21
通过短信远程控制Windows mobile手机C#程序
2009-06-29
-----------------求职面试资料-----------------
2009-04-29
OFDM for Wireless Multimedia Communications Richard van Nee Ramjee Prasad
2009-04-11
C#调用C/C++ Dll中函数实例代码
2009-04-03
A Practical Guide to Red Hat® Linux®, Third Edition: Fedora™ Core and Red Hat Enterprise Linux By Mark G. Sobell
2009-02-22
const T vs T const By Dan Saks On Embedded Systems Programming
2009-02-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人