摘要: 整形提升 什么是整形提升? 在K&R和C89的早期实现中,基于short和char的算术运算陷入两难的困境,因为可能会产生两种不同的结果。因此,在C99中很明 确地定义了整型提升的规则. 如果int能够表示原始类型中的所有数值,那么这个数值就被转成int型,否则,它被转成unsigned int 型 阅读全文
posted @ 2017-11-05 10:37 22Kon 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 元组 这篇文章非常基础,很适合初学者 http://blog.csdn.net/zhangao0086/article/details/38562417 区间运算符 swift a...b // 表示[a,b] a.. 阅读全文
posted @ 2017-07-26 15:13 22Kon 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. 你不应该把时间当作虚拟的东西,你用时间做什么,时间就是什么 2. 对于时间而言,只有昨天、今天和明天 阅读全文
posted @ 2017-07-26 15:05 22Kon 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 各种iPhone的屏幕尺寸: 4.0寸:320 568 4.7寸:375 667 5.5寸:414 736 图片资源Assets中图片有2x、3x等这样的图片,用sketch制作图片的时候选择导出不同的尺寸然后拖到Assets中Xcode会自动识别同一个图片 阅读全文
posted @ 2017-07-26 15:01 22Kon 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 复习要点: (1)什么是操作系统?什么是UNIX操作系统?什么是Linux操作系统?它们之间的关系是怎样的? (2)UNIX操作系统有哪些典型的分支? (3)什么是Shell?内置变量$$、$ 、$@、$?、$ 的具体含义是什么? (4)常用的Shell命令,如ls、cd、dd、pwd、ps、cp、 阅读全文
posted @ 2017-06-30 11:52 22Kon 阅读(356) 评论(0) 推荐(0) 编辑
摘要: UML笔记 UML的主要内容就是画图和面向对象的分析设计。 画图的过程中我们要注意每种图的元素和每种图的作用。 面向对象的分析设计中我们要了解OA和OD的思想。 这些都是考试的重点 1. 用例图 1.1 什么是用例 用例是一个活动者(Actor)使用系统的一项功能时所进行的交互过程的一个文字描述序列 阅读全文
posted @ 2017-06-03 17:11 22Kon 阅读(1369) 评论(1) 推荐(0) 编辑
摘要: Chinese characters are not displayed properly in my terminal. Solution: set all encoding in utf8 (in mysql using utf8 not utf-8) Step1: check your enc 阅读全文
posted @ 2017-04-15 12:02 22Kon 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Check restriction for mysql Mysql does not suppot for check restriction but oracle does. Here using trigger we can achive the same restrction as check 阅读全文
posted @ 2017-04-15 11:37 22Kon 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Before reading the blog, make sure you have succcessfully installed mysql for mac. Create a database: 阅读全文
posted @ 2017-04-15 11:24 22Kon 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Brief introduction about "tcp & tcpm" in basic unix. This is a homework of unix class which is all about copy a file, not the TCP(Transmission Control 阅读全文
posted @ 2017-04-15 10:46 22Kon 阅读(662) 评论(0) 推荐(0) 编辑