码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
今天发现了我写的一个bug
private void getFiles(String path, List list) { File dir = new File(path); if (dir.isFile()) { list.add(dir); } el...
分类:其他好文   时间:2015-09-23 18:52:58    阅读次数:140
Uva120 Stacks of Flapjacks
1 #include 2 #include 3 #include 4 using namespace std; 5 int a[31],n; 6 7 void rev(int ct) { 8 printf("%d ", n-ct); 9 for (int i=0;imaxn)39...
分类:其他好文   时间:2015-09-23 18:45:40    阅读次数:147
第二次作业(1.个人项目实践)
1. 设计一个类(不妨叫做A ),实现对一维数组的指定范围内的元素相加运算。package vvv;import java.util.Scanner;public class A { public static void main(String[]args) { ...
分类:其他好文   时间:2015-09-23 18:45:01    阅读次数:202
ios 键盘弹起
#pragma mark 键盘弹起操作- (void)keyboardWillShow:(NSNotification *)notification{ NSDictionary *info = notification.userInfo; kbSize = [[info objectForKey:U...
分类:移动开发   时间:2015-09-23 18:43:35    阅读次数:174
已经为类型参数“Chart”指定了 constraint 子句。必须在单个 where 子句中指定类型参数的所有约束
public abstract class FillWorkBook where TModel : struct where Chart : new() where Chart : CreateExcelBase{ public void FillDataToWorkbook...
分类:其他好文   时间:2015-09-23 18:42:14    阅读次数:184
方法的参数个数讨论。
对待java中方法参数个数不确定的解决方法,一是用到重载,另就是用到可变长的参数列表来解决,2者呈互补的关系. 这里主要讲第二种方法的实现: package 第六单元;public class VarArgsDemo { public static void main(String...
分类:其他好文   时间:2015-09-23 18:37:52    阅读次数:159
Hanoi
递归解决 汉诺塔 1 class Han{ 2 int num; 3 int steps; 4 Han(int num){ 5 this.num=num; 6 } 7 void total() 8 { 9 System....
分类:其他好文   时间:2015-09-23 18:34:06    阅读次数:119
layoutSubviews总结
ios layout机制相关方法 - (CGSize)sizeThatFits:(CGSize)size - (void)sizeToFit - (void)layoutSubviews - (void)layoutIfNeeded - (void)setNeedsLayout - (void)setNeedsDisplay - (void)drawRect ????在...
分类:其他好文   时间:2015-09-23 17:27:22    阅读次数:361
UI中地图的使用
@interfaceViewController(){CLLocationManager*manager;}@end@implementationViewController-(void)viewDidLoad{[superviewDidLoad];//Doanyadditionalsetupafterloadingtheview,typicallyfromanib.manager=[[CLLocationManageralloc]init];[managerrequestAlwaysAuthorizatio..
分类:其他好文   时间:2015-09-23 17:11:46    阅读次数:132
ASP.NET(C#)不提示直接关闭当前页面
方法一:?protected void Button1_Click(object sender, EventArgs e){//关闭页面--弹出提示ClientScript.RegisterStartupScript(Page.GetType(), "", ?"");//关闭页面--不弹出提示Cli...
分类:Windows程序   时间:2015-09-23 16:55:42    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!