What I am looking for:A way to apply styling to
oneHALFof a character. (In this case, half the letter being
transparent)我正在寻找:一种方法为半个字符应用样式。(在这种情况下,一半...
分类:
Web程序 时间:
2014-06-12 00:26:09
阅读次数:
618
原文:Swift中文教程(六)--枚举和结构Enumerations枚举使用enum来创建一个枚举。跟Classes(类)和其他类型的命名方式一样,枚举也可以有Method(方法)。
1 enum Rank: Int { 2 case Ace = 1 3 case Two, Three, Four,...
分类:
其他好文 时间:
2014-06-11 23:21:03
阅读次数:
395
ctrl+/ 单行注释ctrl+shift+/ 块注释ctrl+shift+
+/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子Alt+回车 导入包,自动修正Ctrl+N
查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ct...
分类:
Web程序 时间:
2014-06-11 10:57:44
阅读次数:
397
隐藏xcode command+h退出xcode command+q关闭窗口
command+w关闭所有窗口 command+option+w关闭当前项目 command+control+w关闭当前文件
command+shift+w保存文件 command+s保存所有文件 command+opti...
分类:
其他好文 时间:
2014-06-11 10:11:05
阅读次数:
210
Ctrl+m+Crtr+o折叠所有大纲Ctrl+M+Crtr+P:
停止大纲显示Ctrl+K+Crtr+C: 注释选定内容Ctrl+K+Crtr+U: 取消选定注释内容Ctrl+J : 列出成员
智能感知Shift+Alt+Enter: 切换全屏编辑Ctrl+B,T / Ctrl+K,K: 切换书签...
分类:
其他好文 时间:
2014-06-11 08:33:23
阅读次数:
262
题目:http://poj.org/problem?id=1328注意 输出 Case
:这里是有个空格的。。和之前序列想法差不多 尽可能 向一边贪心。#include #include #include #include #include
#include #include #include #i...
分类:
其他好文 时间:
2014-06-11 08:00:13
阅读次数:
252
最近Google网站老是打不开,具体原因大家都明白,不过修改Hosts文件后,就能访问了,也算不上原创,网上一搜就能找到,自己操作记录下,希望有刚接触Mac
系统的童鞋有帮助。第一步:打开Finder,输入快捷键:shift+cmd+G,键入:/private第二步:找到etc目录,右键菜单选择“显...
分类:
其他好文 时间:
2014-06-11 07:34:04
阅读次数:
433
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
// Respond to the action bar's Up/Home button
case android.R.id.home:
//这里写重写的方法 一定要retrun ...
分类:
其他好文 时间:
2014-06-08 10:39:02
阅读次数:
278
选择排序 直接选择排序: 选择排序,每一趟找到一个最小(大)值,每一趟遍历的数据减少一次。
template void SelectSort(T a[],int length){ T temp; for (int i=0;i0;i--) {
shift(a,i,n); //n只是起条件判断作用,并不...
分类:
其他好文 时间:
2014-06-07 21:10:36
阅读次数:
210
直接进入主题!1. 三元表达式: 由3个数据参与的表达式.二元表达式: 算术表达式一元表达式:
自增自减.2. 三元表达式的语法:bool表达式?值1:值2;int i = 10; i > 0 ? 100 : 200;3.
三元表达式的结果.如果bool表达式的结果为true 那么这个三元表达式的结...
分类:
其他好文 时间:
2014-06-07 17:00:37
阅读次数:
212