- 博客(4)
- 资源 (7)
- 收藏
- 关注
原创 vsftpd 搭建 ftp
1.确认安装 rpm -qa|grep vsftpd* 2.service vsftpd startservicer vsftpd restart/stop 3.service iptables stop 默认匿名登录anonymous 允许 root 登录 去掉 vsftpd.ftpusers and vsftpd.user_li
2011-06-29 14:52:00 439
原创 单向链表反转(循环和递归)
#include "stdio.h"#include "stdlib.h"typedef struct List{ int data; struct List *next;}List;List* list_Create(void){ List *head, *tail, *p; int e; head = (List*)malloc(sizeof(L
2011-06-27 15:48:00 900
原创 大数阶乘!!
直接上代码:#include using namespace std; int main() { int result[40000]; //保存结算结果的数组 int height = 1; //结果的最高位 int num; //计算阶乘的数字 cout<<"Input num:"; cin>>
2011-06-16 10:30:00 435
原创 快速排序
搞了N次都记不住!今天在这里写下。。。。但愿不要再忘记 #include "stdafx.h"#include"stdio.h"void main(){ void quickSort(int [],int,int); int a[7]=...{8,2,6,12,1,9,5}; int i; quickSort(a,0,6); for(i=0;i pr
2011-06-10 09:04:00 373
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人