转自:http://www.linuxidc.com/Linux/2012-01/52153.htmLinux系统下的c编程与Windows有所不同,如果你在用gcc编译代码的时候提示‘for’ loop initial declarations are only allowed in C99 mo...
分类:
系统相关 时间:
2015-01-16 12:47:27
阅读次数:
178
void os_sem_init ( OS_ID semaphore, /* The semaphore object to initialize */ U16 token_count ); /* Initial number of tokens */参数semaphore的类型必须为...
分类:
其他好文 时间:
2015-01-15 17:36:15
阅读次数:
170
event是静态对象,通过"->"操作符触发,进程总是等待一个"@"操作符的事件被触发。"@"操作符是边沿敏感。initial begin $display("@ %0t: 1 :before trigger",$time); ->e1; @e2; $display("@ %0t: 1 :after...
分类:
其他好文 时间:
2015-01-14 11:02:12
阅读次数:
592
width - viewport的宽度 height - viewport的高度initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比例maximum-scale - 允许用户缩放到的最大比例user-scalable - 用户是否可以手动缩放width...
分类:
Web程序 时间:
2015-01-13 17:21:46
阅读次数:
157
/*分为四步 */
/*第1步:创建临时表空间 */
create temporary tablespace contract_temp
tempfile 'D:\oradata\contract_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*第2步:创建数据表...
分类:
数据库 时间:
2015-01-10 11:21:32
阅读次数:
242
The problem:Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.My analysis:The problem is easy at some extent,...
分类:
其他好文 时间:
2015-01-09 12:15:07
阅读次数:
108
连接字符串1.写法一"Data Source=服务器名; Initial Catalog=数据库; User ID =用户名; Password=密码; Charset=UTF8; "2.写法二"Server=服务器名; Database=数据库; uid=用户名; Password=密码;Char...
分类:
Web程序 时间:
2015-01-08 00:47:46
阅读次数:
289
using (var ts = new TransactionScope()){ string connStr = "Data Source=.;Initial Catalog=Test;Integrated Security=true;"; using (SqlConnection c...
分类:
其他好文 时间:
2015-01-07 18:43:42
阅读次数:
160
一. 允许网页宽度自动调整: "自适应网页设计"到底是怎么做到的?其实并不难。 首先,在网页代码的头部,加入一行viewport元标签。viewport是网页默认的宽度和高度,上面这行代码的意思是,网页宽度默认等于屏幕宽度(width=device-width),原始缩放比例(initial-sca...
分类:
移动开发 时间:
2015-01-07 18:32:54
阅读次数:
213
在对oracle导入数据时,多次报以下错误:
IMP-00003: 遇到 ORACLE 错误 1659
ORA-01659: 无法分配超出 1 的 MINEXTENTS (在表空间 ZSTA_DATA_TBS 中)
IMP-00003: 遇到 ORACLE 错误 1658
ORA-01658: 无法为表空间 ZSTA_DATA_TBS 中的段创建 INITIAL 区
...
分类:
数据库 时间:
2015-01-07 16:53:06
阅读次数:
466