06 2011 档案
摘要:extern int func();int (*myfun)() = func;
阅读全文
摘要:1. 复制表结构及其数据:create table table_name_new as select * from table_name_old 2. 只复制表结构:create table table_name_new as select * from table_name_old where 1=2;或者:create table table_name_new like table_name_old 3. 只复制表数据:如果两个表结构一样:insert into table_name_new select * from table_name_old如果两个表结构不一样:insert int
阅读全文
摘要:<script language="javascript" type="text/javascript"> function newForm(xxx, xxxxx){ var emsform = document.createElement("FORM"); document.body.appendChild(emsform); emsform.method = "post"; createNewFormElement(emsform, "user", xxx); createNew
阅读全文
摘要:第一种:File f = new File(this.getClass().getResource("/").getPath());System.out.println(f);结果:C:\Documents%20and%20Settings\Administrator\workspace\projectName\bin获取当前类的所在工程路径;如果不加“/”File f = new File(this.getClass().getResource("").getPath());System.out.println(f);结果:C:\Documents%2
阅读全文

浙公网安备 33010602011771号