码迷,mamicode.com
首页 >  
搜索关键字:int    ( 143001个结果
数据库dbutils
common-dbutils.jarQueryRunnerupdate方法:* int update(String sql, Object... params) --> 可执行增、删、改语句* int update(Connection con, String sql, Object... parm ...
分类:数据库   时间:2017-03-30 21:36:36    阅读次数:267
空心的菱形啊
import java.util.*; public class Ge { public static void main(String[] args){ int row=7; for(int i=-row;i<=row;i++) { int a=(i<0)?-i:i; for (int j=0;j... ...
分类:其他好文   时间:2017-03-30 21:29:29    阅读次数:115
杨辉三角
public class yanghui { public static void main(String[] args) { // TODO 自动生成的方法存根 int i,j,k,n,a[][]; a=new int[6][]; for(i=1;i<=6;i++) a[i-1]=new int ...
分类:其他好文   时间:2017-03-30 21:20:10    阅读次数:117
字符串(bzoj 1856)
Description lxhgww最近接到了一个生成字符串的任务,任务需要他把n个1和m个0组成字符串,但是任务还要求在组成的字符串中,在任意的前k个字符中,1的个数不能少于0的个数。现在lxhgww想要知道满足要求的字符串共有多少个,聪明的程序员们,你们能帮助他吗? Input 输入数据是一行, ...
分类:其他好文   时间:2017-03-30 21:19:34    阅读次数:120
当前年以前工资的总和
create table b(Years int,Salaty int)insert into b values(2000,1000)insert into b values(2001,2000)insert into b values(2002,3000)insert into b values( ...
分类:其他好文   时间:2017-03-30 19:31:51    阅读次数:113
课上程序的补充
总结: 1、课上写的跟以上程序差不多,只有变换字母大小写不一样,我本来想用for循环,如果数组遇到空格,就让它下一个字符减32,但是字符串本身最后的会有系统默认的‘\0’,导致程序一直出错,不能运行。 2、有查百度,但是并没有跳过空格让下一个字符变大写的办法,只能直接改变字符了。 ...
分类:其他好文   时间:2017-03-30 19:22:36    阅读次数:178
如何实现虚拟机(VirtualBox)中的Ubuntu与Windows XP间的数据共享
环境: 主机是Windows XP系统 虚拟机与Ubuntu的版本分别为: VirtualBox-3.2.12-68302-Win ubuntu-10.10-desktop-i386 前提:已安装VirtualBox的增强功能 安装过程可参考以下文章: VirtualBox中的Ubuntu如何实现全 ...
分类:Windows程序   时间:2017-03-30 19:14:46    阅读次数:252
【转载】C++ ,C#数据类型对照
C++ C# WORD ushortDWORD uintUCHAR int/byte 大部分情况都可以使用int代替,而如果需要严格对齐的话则应该用bytebyteUCHAR* string/IntPtrunsigned char* [MarshalAs(UnmanagedType.LPArray) ...
分类:编程语言   时间:2017-03-30 18:42:26    阅读次数:235
ubuntu下使用 chkconfig 是一种习惯
ubuntu下使用 chkconfig 是一种习惯 习惯了chkconfig命令, 闲来写了个脚本模拟下, 步骤很简单。 如下: 第一步, 安装sysv-rc-conf sudo apt install sysv-rc-conf 第二步, 将如下脚本放于/usr/sbin目录下 第三步, 赋予权限 ...
分类:系统相关   时间:2017-03-30 18:36:33    阅读次数:195
HCIE实验LAB_1(1)
Section1:Layer 2 Technologies 1.1 VLAN vlan batch 10 15 24 30 35 255 interface x0/0/x port link-type access port default vlan xxx 1.2 Eth-trunk interf ...
分类:其他好文   时间:2017-03-30 18:32:32    阅读次数:587
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!