会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
剑风云
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
19
下一页
2014年10月10日
产生随机数
摘要: 产生n个随机数,n由键盘输入。#include#include#include#includeusing namespace std;#define random(x) (rand()%x)// printf("%d/n",random(100));//rand()会返回一随机数值, 范围在0...
阅读全文
posted @ 2014-10-10 14:35 剑风云
阅读(128)
评论(0)
推荐(0)
2014年10月8日
一维数组和二维数组传出函数
摘要: #define LOCAL#include#include#includeusing namespace std;typedef int ElemType;const int maxSize=10;//传入函数的一维数组经过函数之后数组元素发生变化 int REV(int *a,int x,int ...
阅读全文
posted @ 2014-10-08 16:07 剑风云
阅读(294)
评论(0)
推荐(0)
LinkList
摘要: #define LOCAL#include#include#includeusing namespace std;typedef int ElemType;typedef struct Node{ ElemType data; struct Node *next;}Node,*LinkL...
阅读全文
posted @ 2014-10-08 15:45 剑风云
阅读(359)
评论(0)
推荐(0)
c/c++的*&调用
摘要: #define LOCAL#include#includeusing namespace std;typedef int ElemType;void fun1(ElemType *x){ cout>a; cout<<(*&a)<<endl; fun1(&a); b=&a; ...
阅读全文
posted @ 2014-10-08 13:46 剑风云
阅读(156)
评论(0)
推荐(0)
2014年9月30日
线性表
摘要: #define LOCAL#include #include #include #define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define ElemType int#define MAXSIZE 100 /*此处的...
阅读全文
posted @ 2014-09-30 16:21 剑风云
阅读(366)
评论(0)
推荐(0)
2014年8月1日
用队列打印杨辉三角
摘要: #include#include#include#includeusing namespace std;queue Q;int temp;void tringle(const int n){ Q.push(1); for(int i=2;i<=n;i++) { Q.p...
阅读全文
posted @ 2014-08-01 15:38 剑风云
阅读(1452)
评论(0)
推荐(0)
2014年7月12日
mysql允许远程连接
摘要: 1. 3306端口是不是没有打开? 使用nestat命令查看3306端口状态: ~# netstat -an | grep 3306 tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 从结果可以看出3306端口只是在IP 127.0.0.1上监听,所以拒绝了其他IP的访
阅读全文
posted @ 2014-07-12 16:47 剑风云
阅读(1195)
评论(0)
推荐(0)
2014年7月7日
window文件恢复工具
摘要: OSChina网址http://www.oschina.net/translate/15-data-recovery-tools-for-windows?from=20140706
阅读全文
posted @ 2014-07-07 19:34 剑风云
阅读(192)
评论(0)
推荐(0)
2014年7月5日
android 虚拟机没有sd卡
摘要: 关于android 虚拟机没有sd卡问题
阅读全文
posted @ 2014-07-05 20:22 剑风云
阅读(254)
评论(0)
推荐(0)
SVN与Apache整合
摘要: vSVN与Apache整合下载Apache(http://httpd.apache.org/download.cgi)安装apache_2.2.14-win32-x86-no_ssl.msi打开Apache安装目录下Apache2.2\conf\httpd.conf 配置文件:v将下列2行前方...
阅读全文
posted @ 2014-07-05 11:12 剑风云
阅读(459)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
19
下一页
公告