突然想到这个问题,然后做了下实验,下面以Integer来讲解,其他的忽略:import java.util.Iterator;/** * Created by lili on 15/9/24. */public class TestNew { public static void main(S...
分类:
编程语言 时间:
2015-11-09 20:28:50
阅读次数:
326
-(void)layoutSubviews?{
????[super?layoutSubviews];
????/*
????????super?view?frame
?????47:317---------------
?????| ?| ??????|
?????| 23:46|imgVi...
分类:
其他好文 时间:
2015-11-09 19:24:38
阅读次数:
211
class SendEmail { static void Main(string[] args) { string from = "发件人@yingu.com"; string fromer = "赵海莹"; ...
/***测试插入代码程序*/public void getPrint (String string) { Systerm.out.println(string);}
分类:
其他好文 时间:
2015-11-09 18:47:54
阅读次数:
114
一、malloc函数/* 首先需要导入头文件 #include malloc void* malloc(n); n是字节大小 开辟堆空间,开辟的字节数以n为准 返回的是开辟空间的首地址 void*是万能指针,也就是...
分类:
编程语言 时间:
2015-11-09 18:38:09
阅读次数:
233
@implementation ViewControllerUILabel *labelView;int startX;int startY;- (void)viewDidLoad { [super viewDidLoad]; startX = 100; startY = 100; la...
分类:
其他好文 时间:
2015-11-09 18:34:15
阅读次数:
195
static void Main(string[] args) { string atxet = @" 32323 323343434"; Regex reg = new Regex(@"http://([a-zA-Z0-9-/ _]+)+....
分类:
其他好文 时间:
2015-11-09 18:33:41
阅读次数:
279
自动属性 public string Name { get; private set; }可以给get和set设置限制访问符。不能给任何一个写具体方法,否则不执行异变委托调用方法异变,可直接实例委托并传递参数delegate void Dosome(int a);Class cl = new Cla...
分类:
其他好文 时间:
2015-11-09 18:31:43
阅读次数:
226
原来iOS8增加了启动授权,需要用户同意下才能注册通知。添加如下代码:- (void)RegistNotificationSettings{ float sysVersion=[[UIDevice currentDevice]systemVersion].floatValue; if (...
分类:
移动开发 时间:
2015-11-09 17:14:18
阅读次数:
273
//print没有换行的而println有自动换行功能。实例:uprint.javaclass uprint{public static void main(String arg[]){int i,j,k;for(i=1;i<10;i++){System.out.println();for(j=1;...
分类:
其他好文 时间:
2015-11-09 15:41:48
阅读次数:
208