上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页
摘要: C 运算符 C语言运算符详解 控制语句 if-else条件语句 if(表达式) { 语句 } else if(表达式) { 语句 } else if(表达式) { 语句 } switch选择语句 switch(表达式) { case 常量表达式 : 语句序列 case 常量表达式 : 语句序列 ·· 阅读全文
posted @ 2020-01-15 21:04 柔和的天空 阅读(160) 评论(0) 推荐(0) 编辑
摘要: DIV 设置可编辑 contenteditable=true <div contenteditable=true id="divTest"></div> 数据库存入需要将表设置为utf8mb4 编码格式 如果对数据处理,例如转为json数据,emoji 表情将无法存入数据库,需要对 emoji 表情 阅读全文
posted @ 2020-01-10 11:27 柔和的天空 阅读(948) 评论(0) 推荐(0) 编辑
摘要: 标准文件 C 语言把所有的设备都当作文件。所以设备(比如显示器)被处理的方式与文件相同。以下三个文件会在程序执行时自动打开,以便访问键盘和屏幕。 标准文件文件指针设备 标准输入 stdin 键盘 标准输出 stdout 屏幕 标准错误 stderr 您的屏幕 gets() & puts() char 阅读全文
posted @ 2020-01-07 10:03 柔和的天空 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 变量定义 数据类型 变量名; int num; //声明变量,在内存中找一块区域,命名为 num,用它来存放整数 int num=1; //声明并赋值,赋值是指把数据放到内存的过程 int cow =32 ,goats = 14; //声明多个变量,变量名之间用逗号隔开 变量作用域 1.动态局部变量 阅读全文
posted @ 2020-01-07 09:11 柔和的天空 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 原型:prototype、proto和constructor prototype proto constructor 对象:defineProperty()和defineProperties() defineProperty defineProperties window.history: push 阅读全文
posted @ 2019-12-27 14:09 柔和的天空 阅读(651) 评论(0) 推荐(0) 编辑
摘要: py 文件设置编码: # -*- coding: utf-8 -*- #coding=utf-8 两种方式任选一种即可 输出到浏览器设置编码: import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding= 阅读全文
posted @ 2019-11-17 14:56 柔和的天空 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Apache配置 在httpd.conf中查找DocumentRoot: +ExecCGI 支持cgi DocumentRoot "F:\phpStud\PHPTutorial\WWW" <Directory /> Options +Indexes +FollowSymLinks +ExecCGI 阅读全文
posted @ 2019-11-14 16:00 柔和的天空 阅读(1414) 评论(1) 推荐(1) 编辑
摘要: php 中文分词 splitword SCWS 中文分词 VicWord一个纯php的分词 在MySQL 5.7.6之前,全文索引只支持英文全文索引,不支持中文全文索引,需要利用分词器把中文段落预处理拆分成单词,然后存入数据库。从MySQL 5.7.6开始,MySQL内置了ngram全文解析器,用来 阅读全文
posted @ 2019-10-07 16:58 柔和的天空 阅读(2203) 评论(0) 推荐(1) 编辑
摘要: 1. concat函数 mysql> select concat('1','2','3') from test ; + + | concat('1','2','3') | + + | 123 | + + 如果连接串中存在NULL,则返回结果为NULL: mysql> select concat('1 阅读全文
posted @ 2019-09-28 19:26 柔和的天空 阅读(14113) 评论(0) 推荐(0) 编辑
摘要: PHP 自带的加密解密函数 目前经常使用的加密函数有:md5(), sha1(), crypt(), base64_encode(), urlencode() 。其中 md5(), sha1(), crypt() 是不可逆的加密方式。base64_encode() ,urlencode() 是可逆的 阅读全文
posted @ 2019-09-24 19:48 柔和的天空 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页