i 当前光标位置插入a 当前光标后插入0 另起一行插入A 在光标所在行尾插入I 在光标所在行首插入:set nu设置 行号:set nunu 取消行号gg 到第一行G 到最后一行$ 移到行尾0 移到行首nG到第几行n到第几行x 删除光标所在处字符nx删除光标所在处后几个字符dd删除光标所在行,ndd...
分类:
系统相关 时间:
2014-11-19 07:18:49
阅读次数:
210
char s[] = "Golden Global View,disk * desk";const char *d = " ,*";char *p;p = strtok(s,d);while(p){ MessageBox(NULL,p,NULL,NULL); p=strtok(NU...
分类:
其他好文 时间:
2014-11-17 13:48:45
阅读次数:
141
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-16 21:28:53
阅读次数:
140
简单安装,测试程序用;ssh 192.168.1.104apt-get install vsftpd简单编辑配置文件,没有过多设置vi /etc/vsftpd.conf +"set nu" 22 # Allow anonymous FTP? (Disabled by default) 23 an.....
分类:
系统相关 时间:
2014-11-15 15:23:45
阅读次数:
295
UITableView控件使用使用UITableView,在控件库中,拖拽一个Table View到ViewController中,在Controller的后台代码中需要继承UITableViewDelegate和UITableViewDataSource的协议。重写方法tableView(_:nu...
分类:
移动开发 时间:
2014-11-13 18:32:26
阅读次数:
354
http://coding.abel.nu/2013/11/enums-and-lookup-tables-with-ef-code-first/With EntityFramework’s support for enums, there is no longer any need to incl...
分类:
编程语言 时间:
2014-11-13 16:18:38
阅读次数:
228
VIM编辑器的使用VIM 使用的命令:q 直接退出vi :wq 保存后退出vi ,并可以新建文件:q! 强制退出:w file 将当前内容保存成某个文件:set number | nu在编辑文件显示行号:set nonumber |nonu 在编辑文件不显示行号VIM 移动光标命令h :光标左移一个...
分类:
系统相关 时间:
2014-11-12 19:33:26
阅读次数:
219
C语言提供了几个标准库函数,能够将随意类型(整型、长整型、浮点型等)的数字转换为字符串。下面是用itoa()函数将整数转 换为字符串的一个样例: # include # include void main (void) { int num = 100; char str[25]; itoa(nu.....
分类:
编程语言 时间:
2014-11-12 13:28:28
阅读次数:
202
其实就一句话:把lang文件夹删除就行了。写这个随笔还要记录一下自己的GVIM配置,从网上各处找的,然后终于弄成了自己喜欢的样子,抓紧把这个配置保存好。set nocompatiblebehave mswinset guifont=courier_new:h12set nu!set encoding...
分类:
系统相关 时间:
2014-11-10 17:10:59
阅读次数:
211
K-based Numbers
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Let’s consider K-based numbers, containing exactly N digits. We define a nu...
分类:
其他好文 时间:
2014-11-10 10:05:32
阅读次数:
158