234234234
摘要: + 加法运算 - 减法 * 乘法 / 除法, 是求两个整数相除的余数. % 取模, 是求两个整数相除的余数. ++ 自加 -- 自减 += 加法赋值 -= 减法赋值 *= 乘法赋值 /= 除法赋值 %= 取模赋值 阅读全文
posted @ 2018-06-09 23:16 你若愿意,我一定去 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 八大数据类型 整型 1• byte, 占1个字节, 8位. 2• short, 占2个字节,16位. 3• int, 占4个字节,32位. 4• long, 占64个字节; 8位. 字符型 5• char, 占1个字节, 8位. 浮点型 6• float, 占float 4个字节,单精度. 7• d 阅读全文
posted @ 2018-06-09 23:14 你若愿意,我一定去 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 删除文件: 语法:create1 del 1.txt 语义: 删除create1 文件夹下的1.txt 。不存在则打印“找不到” 删除文件夹: 语法: $ rb 想知道一个命令的具体用法,可以用: $+空格+命令+空格+/? 提示: 输入: rb /? 如下图 网上查的,-_-'; 慢慢积累 阅读全文
posted @ 2018-06-08 23:43 你若愿意,我一定去 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> // 时间结构体hour, minute, secondtypedef struct Time{int H;int M;int S;} time; int main() {time t1, t2;// t1 是开始时间, t2 是截至时间,它们之间的最大时间差为 阅读全文
posted @ 2018-05-29 22:29 你若愿意,我一定去 阅读(134) 评论(0) 推荐(0) 编辑
摘要: var 全称为 variable; adj.变化的,可变的;[数]变量的;[生]变异的n.可变因素,变量;易变的东西 const 全称为 constant; adj.不断的,持续的;永恒的,始终如一的;坚定;忠实的n.[数]常数,常量;不变的事物;永恒值 let 局部变量 阅读全文
posted @ 2018-05-19 13:17 你若愿意,我一定去 阅读(81) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> @-webkit-keyframes lll { 0%{ -webkit-transform: rotate3d(1 阅读全文
posted @ 2018-05-19 09:38 你若愿意,我一定去 阅读(478) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .d1 { margin: auto; width: 40px; height: 250px; transform- 阅读全文
posted @ 2018-05-18 23:59 你若愿意,我一定去 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 新建一个共享模块:如shareModule, 并在该模块下新建HelloComponent组件 再建两个模块: module1, module2来共享shareModule中的HelloComponent组件 第一步: 在shareModule 的shareModule.ts 文件中找到 expor 阅读全文
posted @ 2018-05-18 15:47 你若愿意,我一定去 阅读(112) 评论(0) 推荐(0) 编辑
摘要: $ npm uninstall -g @angular/cli 阅读全文
posted @ 2018-05-11 19:00 你若愿意,我一定去 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> union Num{ unsigned long int a; unsigned short int arr[2];} Num; int main() { while(scanf("%x", &Num.a) != EOF) printf("height=%x l 阅读全文
posted @ 2018-05-09 23:22 你若愿意,我一定去 阅读(177) 评论(0) 推荐(0) 编辑
23423423423