页首

摘要: 冒泡排序 它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。 这个算法的名字由来是因为越大的元素会经由交换慢慢“浮”到数列的顶端,故名冒泡排序 算法原理 冒泡排序算法的运作如下:(从后往前) 比 阅读全文
posted @ 2018-03-04 20:41 zhangrxiang 阅读(231) 评论(0) 推荐(0) 编辑
摘要: rtrim (PHP 4, PHP 5, PHP 7) rtrim — Strip whitespace (or other characters) from the end of a string rtrim — 删除字符串末端的空白字符(或者其他字符) Description Parameter 阅读全文
posted @ 2018-03-04 17:22 zhangrxiang 阅读(544) 评论(0) 推荐(0) 编辑
摘要: ltrim (PHP 4, PHP 5, PHP 7) ltrim — Strip whitespace (or other characters) from the beginning of a string ltrim — 删除字符串开头的空白字符(或其他字符) Description Para 阅读全文
posted @ 2018-03-04 16:45 zhangrxiang 阅读(324) 评论(0) 推荐(0) 编辑
摘要: trim (PHP 4, PHP 5, PHP 7) trim — Strip whitespace (or other characters) from the beginning and end of a string trim — 去除字符串首尾处的空白字符(或者其他字符) Descripti 阅读全文
posted @ 2018-03-04 15:34 zhangrxiang 阅读(367) 评论(0) 推荐(0) 编辑
摘要: character coding 跟随历史的足迹看字符编码 古代的通信方式 很久很久以前,人们之间的长途通讯主要是用信鸽、骑马送报、烽烟等方式进行 直到1837年,世界第一条电报诞生,当时美国科学家莫尔斯尝试用一些“点”和“划”来表示不同的字母、数字和标点符号,这套表示字符的方式也被称为“摩尔斯电码 阅读全文
posted @ 2018-03-04 14:41 zhangrxiang 阅读(704) 评论(0) 推荐(0) 编辑
摘要: implode (PHP 4, PHP 5, PHP 7) implode — Join array elements with a string implode — 将一个一维数组的值转化为字符串 Description Note: implode() can, for historical re 阅读全文
posted @ 2018-03-03 20:08 zhangrxiang 阅读(484) 评论(0) 推荐(0) 编辑
摘要: explode (PHP 4, PHP 5, PHP 7) explode — Split a string by string explode — 使用一个字符串分割另一个字符串 Description Parameters delimiter The boundary string. 边界上的分 阅读全文
posted @ 2018-03-03 19:18 zhangrxiang 阅读(507) 评论(0) 推荐(0) 编辑
摘要: ord (PHP 4, PHP 5, PHP 7) ord — Return ASCII value of character ord — 返回字符的 ASCII 码值 Description Parameters string A character. 一个字符。 Return Values Re 阅读全文
posted @ 2018-03-02 22:40 zhangrxiang 阅读(326) 评论(0) 推荐(0) 编辑
摘要: chr (PHP 4, PHP 5, PHP 7) chr — Return a specific character chr — 返回指定的字符 Description Parameters ascii The extended ASCII code. Ascii 码。 Values outsid 阅读全文
posted @ 2018-03-02 22:18 zhangrxiang 阅读(825) 评论(0) 推荐(0) 编辑
摘要: CRUD struct student create table sql CREATE TABLE IF NOT EXISTS student( INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, TEXT NOT NULL, INT NOT NULL, TEXT 阅读全文
posted @ 2018-03-02 14:41 zhangrxiang 阅读(270) 评论(0) 推荐(0) 编辑

页脚