码迷,mamicode.com
首页 >  
搜索关键字:con    ( 2749个结果
【练习题】atoi和itoa函数的实现
int atoi (const char * str); //Convert string to integer char * itoa ( int value, char * str, int base ); //Convert integer to string (non-standard function) #include #include int my_atoi(con...
分类:其他好文   时间:2015-06-19 01:34:25    阅读次数:137
php 语法 -- if else
php 语法 – if elsephp 语法 – if else来源: http://www.php.net/manual/zh/control-structures.if.phphtml code to run if condition is truehtml code to run if con...
分类:Web程序   时间:2015-06-19 01:24:19    阅读次数:178
基于css3的鼠标滑动按钮动画之CSS--续
btn2 /*--按钮1--*/ .container1?{ ??width:200px; ??display:block; ??margin:20px?auto; ??position:relative; ??font-family:droid?arabic?kufi; } .con_down1?{ ??display:block; ??curso...
分类:Web程序   时间:2015-06-18 17:33:08    阅读次数:156
数学 --- 高斯消元 POJ 1830
开关问题Problem's Link:http://poj.org/problem?id=1830Mean:略analyse:略增广矩阵:con[i][j]:若操作j,i的状态改变则con[i][j]=1,否则con[i][j]=0。最后的增广矩阵应该是N*(N+1),最后一列:对比开光的始末状态,...
分类:其他好文   时间:2015-06-17 23:11:36    阅读次数:146
媒体查询iphone6、iphone6 plus,js判断设备型号
/* 兼容问题*/@media screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2){ .dialog-agreement-con{ height: 45%...
分类:Web程序   时间:2015-06-16 12:54:11    阅读次数:188
内存泄露情况
1.单例,成员变量有Context(如果这个Context是Activity的话就会内存泄露了),因为instance是静态的,持有context的引用public class Singleton{ public static Singleton instance; public Con...
分类:其他好文   时间:2015-06-16 10:58:59    阅读次数:134
php 数据库连接
1.数据库连接mysql_connect() 函数打开非持久的 MySQL 连接。如果成功,则返回一个 MySQL 连接标识,失败则返回 FALSE。$con = mysql_connect("localhost","root","123456");//参数1:要连接的服务器 参数2:数据库名 参数...
分类:数据库   时间:2015-06-15 23:36:16    阅读次数:216
scu oj 4445 Right turn 2015年四川省赛J题(模拟题)
一般的模拟题。对于出现过的每一个x建立一个set 集合,对于y也如此。然后查找要走到哪个点即可,主要要对状态记录,判断是否无线循环,否者出现无线循环的情况,就tle了。 #include #include #include #include #include #include #include #include #include #include using namespace std; con...
分类:其他好文   时间:2015-06-15 18:45:08    阅读次数:150
QueryRunner(common-dbutils.jar)
QueryRunnerupdate方法:* int update(String sql, Object... params) --> 可执行增、删、改语句* int update(Connection con, String sql, Object... parmas) --> 需要调用者提供Co....
分类:数据库   时间:2015-06-15 11:02:51    阅读次数:309
解决.Net MVC EntityFramework Json 序列化循环引用问题.
以前都是到处看博客,今天小菜也做点贡献,希望能帮到大家.废话不多说,直接进入正题.用过.net MVC的同学应该都被json序列化报循环引用错误这个问题骚扰过.网上有一些解决办法,但是都治标不治本.如在引发异常的属性上加上[ScriptIgnore]或者[JsonIgnore],又或者用db.Con...
分类:Web程序   时间:2015-06-14 19:56:19    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!