自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

郑国锋的专栏

Comfanter's Homepage

  • 博客(11)
  • 收藏
  • 关注

原创 广义表相关算法

//Header.h#ifndef HEADER_H#define HEADER_H// 预定义常量和类型// 函数结果状态代码#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef in

2010-04-03 21:15:00 777

原创 insert_sort

 #include using namespace std;void insert_sort(int array[],int length){    int i,j,temp;    for(i=1;i    {        temp=array[i];        for(j=i-1;j>=0&&array[j]>temp;j--)            

2009-11-12 14:52:00 292

原创 ferror

/* ferror example: writing error */#include int main (){ FILE * pFile; pFile=fopen("myfile.txt","r"); if (pFile==NULL) perror ("Error opening file"); else { fputc (x,pFile);

2009-09-03 15:52:00 546

原创 Fcitx

Fcitx(Free Chinese Input Toy for X),小企鹅输入法http://www.fcitx.org/main/配置文件~/.fcitx/cofig[程序]显示字体(中)=AR PL KaitiM GB显示字体(英)=Courier New显示字体大小=12主窗口字体大小=12字体区域=zh_CN.UTF-8使用AA字体=1使用粗

2009-09-02 16:10:00 499

原创 LibFetion

LibFetion是由邓东东主导开发的第三方飞信应用程序。http://www.libfetion.cn/

2009-09-02 16:02:00 650

原创 StarDict

星际译王基于gtk的跨平台的自由的桌面字典软件

2009-09-02 15:54:00 216

原创 Code::Blocks

免费开源跨平台的C++IDE

2009-09-02 15:42:00 224

原创 Infra Recorder

免费开源体积小巧功能强大的刻录软件

2009-09-02 11:19:00 542

原创 cocktail sort

//cocktail sort#includeusing namespace std;void cocktail_sort(int list[],int list_length){ // the first element of list has index 0 int i; int bottom = 0; int top = list_length -

2009-08-23 22:38:00 411

原创 Bubble Sort

#include using namespace std;void bubbleSort(int array[],int size){ int m,n; for(m=0;m<size-1;m++) { for(n=0;n<size-m-1;n++) { if(array[n]>array[n+1

2009-08-23 22:12:00 218

原创 cstring

/* memchr */#include #include #include using namespace std;int main(){ char *pch; char str[]="Example string"; pch=(char*)memchr(str,p,strlen(str)); if(pch!=NULL) cout<<"p f

2009-08-20 23:38:00 347

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除