码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
c#中的类型转换
Parse类型转换Parse()函数int、double都能调用Parse()函数,Parse(string str);如果转换成功就成功,失败就会抛出一个异常;TryParse()函数相应地有一个TryParse函数,bool TryParse(string str,out int a);这里的out参数相当于c++中的&,引用(区别是c#的这个方法里必须对a赋值,且所有分支都要赋值)。如果能够...
分类:Windows程序   时间:2015-05-12 21:03:49    阅读次数:145
Cursor:url()的使用
Cursor:url()的使用今天在项目中,要用到自定义鼠标样式,格式:css:{cursor:url('绝对路径的图片(格式:cur,ico)'),-moz-zoom-out;}//FF下面css:{cursor:url('绝对路径'),auto;}//IE,FF,chrome浏览器都可以前面ur...
分类:Web程序   时间:2015-05-12 20:34:41    阅读次数:149
c# 方法参数(传值,传引用,ref,out,params,可选参数,命名参数)
一、方法参数的类型----值类型和引用类型 当方法传递的参数是值类型时,变量的栈数据会完整地复制到目标参数中即实参和形参中的数据相同但存放在内存的不同位置。所以,在目标方法中对形参所做的更改不会对调用者的初始变量产生任何影响。 当方法传递的参数是引用类型是,只是将变量的引用复制到目标参数中,实参和形...
分类:Windows程序   时间:2015-05-12 15:08:26    阅读次数:208
weblogic启动问题
昨天测试环境上网银系统突然出现启动weblogic控制台出错问题,执行startWebLogic.sh脚本后tail到nohup文件时没有反应,nohup.out文件一直没有反应。对于此问题同事想reboot 操作系统,但是执行reboot后突然又出现其他的问题,最后发现由于reboot重启系统会带...
分类:Web程序   时间:2015-05-12 13:24:11    阅读次数:156
单词计数
1. 统计行数、单词数与字符数2. 单词认为是任何其中不包含空格、制表符或换行符的字符序列#include #include #define IN 1#define OUT 0main(){ int nl,nw,nc,input,state; nl = nw = nc = 0; s...
分类:其他好文   时间:2015-05-12 13:21:22    阅读次数:161
Reverse Nodes in k-Group——解题报告
【题目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remai...
分类:其他好文   时间:2015-05-12 11:34:01    阅读次数:92
weblogic启动时日志重定向(nohup.out)
由于weblogic使用 nohup ./startWebLogic.sh & 启动时会将所有日志打印到nohup.out上,长此以往会导致该文件越来越大,不便于管理。故下面介绍如何重定向该日志:在startWebLogic.sh 或 startManagedWebLogic.sh文件中 #Star...
分类:Web程序   时间:2015-05-12 11:00:27    阅读次数:287
九大排序算法总结
九大排序算法再总结 算法的由来:9世纪波斯数学家提出的:“al-Khowarizmi”排序的定义:输入:n个数:a1,a2,a3,...,an输出:n个数的排列:a1',a2',a3',...,an',使得a1' T(n)=O(n^2)四、归并排序特点:stable sort、Out-pla...
分类:编程语言   时间:2015-05-11 23:39:16    阅读次数:272
1006. Sign In and Sign Out (25)
题目如下: At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and...
分类:其他好文   时间:2015-05-11 22:08:58    阅读次数:138
LeetCode 25 Reverse Nodes in k-Group (C,C++,Java,Python)
Problem: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should r...
分类:编程语言   时间:2015-05-11 20:07:26    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!