码迷,mamicode.com
首页 >  
搜索关键字:col    ( 36678个结果
数组参数和指针参数实例
1.#include <stdio.h>void access(int a[][3], int row){ int col = sizeof(*a) / sizeof(int); int i = 0; int j = 0; printf("sizeof(a) = %d\n", sizeof(a)); ...
分类:编程语言   时间:2016-12-09 19:43:29    阅读次数:232
Bootstrap入门(二)栅格
... ... .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .col-md-1 .c ...
分类:其他好文   时间:2016-12-08 23:46:40    阅读次数:196
sqlserver字符串拆分(split)方法汇总
--方法0:动态SQL法declare @s varchar(100),@sql varchar(1000)set @s='1,2,3,4,5,6,7,8,9,10'set @sql='select col='''+ replace(@s,',',''' union all select ''')+ ...
分类:数据库   时间:2016-12-08 17:37:54    阅读次数:202
PHP练习
<?php function table($row,$col,$c){ $str= "<table border=1>"; for ($i=0; $i <$row ; $i++) { //$i表示行 0~9 $color=$i % 2==0?"#ffffff":$c;//三元运算符 $i % 2== ...
分类:Web程序   时间:2016-12-07 13:42:00    阅读次数:254
List集合的removeAll(Collection<E> col) 和clear方法的区别
...
分类:其他好文   时间:2016-12-05 13:58:20    阅读次数:138
MySQL查询数据操作(DQL)
查询记录单表查询SELECT语句完整形式:SELECTselect_expr[,select_expr...][FROMtbl_references[WHERE条件][GROUPBY{col_name|position}[ASC|DESC],...分组][HAVING条件对分组结果进行二次筛选][ORDERBY{col_name|position}[ASC|DESC],...排序][LIMIT限制显示条数]]查询表达式..
分类:数据库   时间:2016-12-05 02:45:43    阅读次数:210
1.8.21
21:二维数组右上左下遍历 21:二维数组右上左下遍历 总时间限制:1000ms内存限制:65536kB描述 给定一个row行col列的整数数组array,要求从array[0][0]元素开始,按从左上到右下的对角线顺序遍历整个数组。 输入输入的第一行上有两个整数,依次为row和col。余下有row ...
分类:其他好文   时间:2016-12-04 07:10:10    阅读次数:184
鼠标在框里字没有,鼠标消失字出现
法一:用户名:<input type="text" name="user" value="请输入用户名" onFocus="if(value==defaultValue){value='';}" onBlur="if(!value){value=defaultValue;this.style.col ...
分类:其他好文   时间:2016-12-01 21:29:42    阅读次数:164
SQL(oracle) 取得分组后最大值记录
select * from (select t.*, row_number() over(partition by 分组字段 order by 排序字段 desc ) rnfrom tablename t )where rn=1 row_number() OVER (PARTITION BY COL ...
分类:数据库   时间:2016-12-01 21:28:45    阅读次数:235
修改input框默认黄色背景
input:-webkit-autofill,textarea:-webkit-autofill,select:-webkit-autofill{ -webkit-box-shadow:000px1000pxwhiteinset!important; background-color:rgb(0,0,0)!important; background-p_w_picpath:none!important; color:rgb(0,0,0)!important; -webkit-tap-highlight-col..
分类:其他好文   时间:2016-11-30 23:27:47    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!