码迷,mamicode.com
首页 >  
搜索关键字:fun    ( 10813个结果
IE 弹出框处理经验
//各屏幕弹出窗样式// 1366*768var style_1366x768 = "dialogWidth:950px;dialogHeight:650px;help:no;center:yes;status:no;resizable:no;location:yes;";//弹出窗口示例代码fun...
分类:其他好文   时间:2015-03-30 12:59:47    阅读次数:93
Sicily 1893. Sell Ticket
1893. Sell Ticket Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description One day, little pig wants to go to the park for fun. He has just one piece of five dollar and luckil...
分类:其他好文   时间:2015-03-30 09:18:53    阅读次数:142
EC笔记,第一部分:3.尽量使用const
03.尽量使用const 1.const概述 2.返回const 为何要返回一个const? 因为如果不返回const,程序员可能写出fun(a,b)=c;这样的代码,也许是因为打字错误可能写出类似if(a*b=c){...}而本来是要写if(a*b==c){...}的, 程序员对*进行重载却不返回...
分类:其他好文   时间:2015-03-28 23:15:02    阅读次数:200
列出某文件夹中所有文件
import java.io.*;class digui{ public static void fun(File file) { if(file.isDirectory()) { File f[] = file.listFiles(); ...
分类:其他好文   时间:2015-03-28 23:09:50    阅读次数:229
golang net package simulation
Let's make some fun to simulation Server - Client.1. socketI implement a echo server and use telnet to simulate the socket client.in this way, we don'...
分类:Web程序   时间:2015-03-21 15:25:51    阅读次数:149
kaggle数据挖掘竞赛初步--Titanic<原始数据分析>
Titanic是kaggle上的一道just for fun的题,没有奖金,但是数据整洁,拿来练手最好不过啦。这道题给的数据是泰坦尼克号上的乘客的信息,预测乘客是否幸存。这是个二元分类的机器学习问题,但是由于数据样本相对较少,在当时慌乱的情况下幸存者有一定的随机性,还是有一定挑战的。首先,我们要先看...
分类:其他好文   时间:2015-03-20 14:21:49    阅读次数:220
hibernate调用oracle存储过程||函数
pakeage dao.Impl;//调用函数FUN_GET();public String get(String Id,String Name){return getSession().createSQLQuery("select FUN_GET(?,?) from dual") .setP...
分类:数据库   时间:2015-03-18 20:14:51    阅读次数:170
shared_ptr
省去对象指针的显示deletetypedef tr1::shared_ptr IntPtr;IntPtr fun(){IntPtr p = new int(3);return p; }int main(){1 IntPtr t = fun();cout<<endl;2 fun();cout...
分类:其他好文   时间:2015-03-18 17:20:23    阅读次数:132
【JavaScript】离开页面前提示
离开页面前的提示不可以用onunload去做,因为它只是兼容IE,你要兼容Google与FireFox就蛋疼了。 而且这个事件还是关闭之后才会触发的。 取而代之可以用onbeforeunload去实现。 onbeforeunload可以在用户关闭或刷新窗口、或者点击本页内的任何超级链接都会触发的。 其JavaScript代码如下: window.onbeforeunload=fun...
分类:编程语言   时间:2015-03-18 10:37:53    阅读次数:197
node中定时器的“先进”用法
var DSQ = setInterval(function(){ console.log('zzq');},1000);setTimeout(function(){ clearInterval(DSQ);//清除定时器,想要再次使用需重新创建},5000);setTimeout(fun...
分类:其他好文   时间:2015-03-18 09:00:51    阅读次数:114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!