上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: 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 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 第一种:scanf() 第二种:fgets() 第三种:getchar() 自己也是初学者,肯定说的不怎么正确 http://frank-dev-blog.club/?post=2 阅读全文
posted @ 2018-09-01 16:50 Z_Chan 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 先写一个void方法到时候在main里引用就OK 如果fflush报错参考我的博客,里面有解决办法 阅读全文
posted @ 2018-09-01 16:40 Z_Chan 阅读(688) 评论(0) 推荐(0) 编辑
摘要: void clean_stdin(void) { int c; do { c = getchar(); } while (c != '\n' && c != EOF); } 阅读全文
posted @ 2018-09-01 16:35 Z_Chan 阅读(699) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/yinyiniao/article/details/4935445 阅读全文
posted @ 2018-08-30 20:40 Z_Chan 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1921) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: 非常简单就是根据提示,在这一行的前面摁Tab键 错误如上图所示: 阅读全文
posted @ 2018-08-11 13:08 Z_Chan 阅读(3312) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页