一、安装LLVM LLVM是一个低级虚拟机,全称为Low Level Virtual Machine.LLVM也是一个新型的编译器框架,相关的介绍Wikipedia。 现在LLVM的版本已经有很多,根据编译器需要选择下载的版下。 GCC/G++版本 >= 4.7,可以选择3.0以上版本,因为C...
分类:
其他好文 时间:
2014-10-29 21:27:36
阅读次数:
326
配置虚拟主机1.开启Apache的rewrite模块 LoadModule rewrite_module modules/mod_rewrite.so2.开启虚拟主机功能 # Virtual hosts Include conf/extra/httpd-vhosts.conf3.修改conf/ext...
分类:
Web程序 时间:
2014-10-29 21:07:36
阅读次数:
191
转自:http://www.cnblogs.com/ArmyShen/archive/2012/09/02/2667816.html作用:子类可以对父类中的虚方法进行重写,虚方法是多态特性的一种体现C#中的虚方法使用virtual关键字定义public virtual void eat();over...
1. dual is a table that contains a single row.2. The dual table has one VARCHAR2 column named dummy.3. dual contains a single row with the value X.des...
分类:
数据库 时间:
2014-10-29 18:35:52
阅读次数:
187
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow up:
Did you use extra space?
A straight forward solution using O(m...
分类:
其他好文 时间:
2014-10-29 17:02:17
阅读次数:
206
要使用_,则需要做如下转义select column_name from user_tab_columns where table_name = 'SYS_TERMINAL_MAPPING' AND column_name LIKE 'Ia_%' escape 'a'
分类:
数据库 时间:
2014-10-29 14:21:43
阅读次数:
158
查询表的所有列及其属性:select t.*,c.COMMENTS from user_tab_columns t,user_col_comments c where t.table_name = c.table_name and t.column_name = c.column_name a...
分类:
数据库 时间:
2014-10-29 12:24:31
阅读次数:
278
今天才发现这家伙。。。怎么讲。。。深以为耻。晚上的任务是加深对它的了解,就这么定了。1. General questions.1.1 What is the TUN ?The TUN is Virtual Point-to-Point network device.TUN driver was de...
分类:
系统相关 时间:
2014-10-29 12:07:56
阅读次数:
267
len ( string_expression )参数:要计算的字符串len() 函数len 函数返回文本字段中值的长度。sql len() 语法select len(column_name) from table_name我们希望取得 "city" 列中值的长度。我们使用如下 sql 语句:sel...
分类:
数据库 时间:
2014-10-28 23:46:40
阅读次数:
266
ActionFilterAttribute,里面有4个虚方法 public virtual void OnActionExecuted(ActionExecutedContext filterContext); public virtual void OnActionExecuting(Action...
分类:
Web程序 时间:
2014-10-28 23:41:27
阅读次数:
353