会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Chan's blog
上一页
1
···
7
8
9
10
11
12
13
下一页
2018年9月13日
php判断网站收录情况
摘要: php判断网站收录情况 <?php //检测网页是否被百度收录 function checkBaiduIndex($url){ $url='http://www.baidu.com/s?wd='.$url; $curl=curl_init(); curl_setopt($curl,CURLOPT_U
阅读全文
posted @ 2018-09-13 22:19 Z_Chan
阅读(535)
评论(0)
推荐(0)
2018年9月1日
linux下C语言三种get输入方式
摘要: 第一种:scanf() 第二种:fgets() 第三种:getchar() 自己也是初学者,肯定说的不怎么正确 http://frank-dev-blog.club/?post=2
阅读全文
posted @ 2018-09-01 16:50 Z_Chan
阅读(1098)
评论(0)
推荐(0)
C语言写控制台互交界面
摘要: 先写一个void方法到时候在main里引用就OK 如果fflush报错参考我的博客,里面有解决办法
阅读全文
posted @ 2018-09-01 16:40 Z_Chan
阅读(713)
评论(0)
推荐(0)
解决linux下fflush(stdin)无效
摘要: void clean_stdin(void) { int c; do { c = getchar(); } while (c != '\n' && c != EOF); }
阅读全文
posted @ 2018-09-01 16:35 Z_Chan
阅读(713)
评论(0)
推荐(0)
纯C语言跑分(详细注释)
摘要: #include #include //clock()所属头文件 const int N_qsort=10000;//快排的数据规模 const int M=20000,N=50000;//整点、浮点运算的规模 const int N_pi=100000000;//计算圆周率的运算规模 double s_int,s_float,s_pi,s_sort; void int_comp(void);...
阅读全文
posted @ 2018-09-01 16:34 Z_Chan
阅读(521)
评论(0)
推荐(0)
2018年8月30日
网络测速 php代码
摘要: 转自:https://blog.csdn.net/yinyiniao/article/details/4935445
阅读全文
posted @ 2018-08-30 20:40 Z_Chan
阅读(1767)
评论(0)
推荐(0)
2018年8月13日
Raspberry install wine
摘要: sudo apt install wine winecfg出现问题 树莓派3B是卡片电脑,内存为1GB,一般运行Linux。Linux两种主流的内存分配方法2G/2G和3G/1G,树莓派系统后期优化性能,使用2G/2G。(注:树莓派内核3.x仍旧采用3G/1G) 方法一,编译新的Linux内核:(本
阅读全文
posted @ 2018-08-13 11:47 Z_Chan
阅读(1962)
评论(0)
推荐(0)
2018年8月12日
C语言输入语句scanf与fgets linux下
摘要: 1、测试使用scanf的一个例子: #include "stdio.h" #include "string.h" int main() { char name[10]; scanf("%s", name); puts(name); return 0; } 编译、调用如下: 可以看到第二次,由于输入的
阅读全文
posted @ 2018-08-12 22:56 Z_Chan
阅读(700)
评论(0)
推荐(0)
2018年8月11日
Linux制作deb
摘要: 1、新建一个我们临时的工作目录mkdir deb 2、新建我们程序的目录mkdir hello 3、编写我们的程序 我们以我们最熟悉的helloworld程序做起,hello.c代码如下#include <stdio.h>int main(){ printf("Hello world!\n"); r
阅读全文
posted @ 2018-08-11 13:37 Z_Chan
阅读(1845)
评论(0)
推荐(0)
制作Makefile中 ** missing separator 错误解决
摘要: 非常简单就是根据提示,在这一行的前面摁Tab键 错误如上图所示:
阅读全文
posted @ 2018-08-11 13:08 Z_Chan
阅读(3388)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
下一页
导航
首页
新随笔
联系
订阅
管理
公告