摘要: 2018/09/29 正数变成对应的负数 2の補数(Two's complement) Math.abs() 絶対値 如何用一个函数就能实现将正数变成对应的负数,将负数变成对应的正数: int turn(int a) { a = ~a + 1; return a; } int main() { pr 阅读全文
posted @ 2018-09-29 09:57 charles999 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 文本编辑器: NodePad++ 带JSONViewer功能 plugIn:插件 AJAX:Asynchronous JavaScript and XML。 http://www.w3school.com.cn/jquery/jquery_ajax_get_post.asp 阅读全文
posted @ 2017-12-02 13:54 charles999 阅读(115) 评论(0) 推荐(0) 编辑
摘要: previous:Python - 19 - My trip to Walmart and Sets Sets : 1,in curve brace {} ,2 have no duplicate 20 - Dictionary a dictionary in python is a Key Val 阅读全文
posted @ 2017-08-19 21:15 charles999 阅读(286) 评论(0) 推荐(0) 编辑
摘要: next:Python_2(form19) 1 install www.python.org 2. string use "" or '' \' treat ' as normal text OK "She don't do that" = 'She don\'t do that' WRONG: ' 阅读全文
posted @ 2017-08-08 21:18 charles999 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 如何将一个已存在的目录转换为一个 Git 项目并托管到 GitHub 仓库https://itgeeker.net/how-to-an-existing-git-initiate-foler/ 在Windows下使用Git Bash,用的是Linux命令,常用几个文件操作命令如下: 2018/03/ 阅读全文
posted @ 2017-08-01 21:36 charles999 阅读(117) 评论(0) 推荐(0) 编辑
摘要: multiply [ˈmʌltəˌplaɪ]vt.& vi.乘;(使)相乘;(使)增加;(使)繁殖adv.多样地;复合地;多倍地;[电学]并联地,多路地adj.多层的;多样的;多股的 square brackets [] brace {} colon : semicolon ; underscore 阅读全文
posted @ 2017-07-31 10:00 charles999 阅读(109) 评论(0) 推荐(0) 编辑
摘要: js中三种定义变量的方式const, var, let的区别。 1.const定义的变量不可以修改,而且必须初始化。 2.var定义的变量可以修改,如果不初始化会输出undefined,不会报错。 3.let是块级作用域,函数内部使用let定义后,对函数外部无影响。 阅读全文
posted @ 2017-07-28 10:56 charles999 阅读(560) 评论(0) 推荐(0) 编辑
摘要: NPM is a package manager for Node.js packages, or modules if you like. www.npmjs.com hosts thousands of free packages to download and use. The NPM pro 阅读全文
posted @ 2017-07-25 16:25 charles999 阅读(278) 评论(0) 推荐(0) 编辑
摘要: parse [pɑ:rs] 从语法上描述或分析(词句等),解析 fetch [fɛtʃ]vt.接来(某人);使发出;吸引;拿取 vi.取来;抵达,到达 Using JSON: Fetch a JSON string,JSON.Parse the JSON string notation [noʊˈt 阅读全文
posted @ 2017-07-23 09:17 charles999 阅读(419) 评论(0) 推荐(0) 编辑
摘要: http://www.json.org/ documnt:http://stleary.github.io/JSON-java/index.html maven中央仓库地址:http://mvnrepository.com http://www.jsoneditoronline.org json编辑 阅读全文
posted @ 2017-07-22 09:11 charles999 阅读(834) 评论(2) 推荐(0) 编辑