码迷,mamicode.com
首页 >  
搜索关键字:new    ( 74660个结果
高德地图AmapSDKDemo运行
①file/new/other/androd Application Poject,选择SDKDemo,复制到workspace②申请amap的key,名字在res/values/strings/的demo_title:为AMapsD Demo③run-as可以在模拟器里也可以在手机上。
分类:其他好文   时间:2014-05-05 21:48:01    阅读次数:257
GC使用注意
GC.Collect()GC.WaitForPendingFinallizers()GC.KeepAlive尽量不要new很大的Object不要频繁的new生命周期很短的Object,这样会导致很多内存碎片引起频繁的压缩
分类:其他好文   时间:2014-05-05 21:47:03    阅读次数:448
[ACM] hdu 1029 Ignatius and the Princess IV (动归或hash)
Ignatius and the Princess IV Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32767K (Java/Other) Total Submission(s) : 7   Accepted Submission(s) : 3 Font: Times New Roman | Verdana | ...
分类:其他好文   时间:2014-05-05 13:01:52    阅读次数:325
【LeetCode】Remove Element
题目: Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't matter what you leave beyond the new len...
分类:其他好文   时间:2014-05-05 12:58:57    阅读次数:294
STL 之 空间适配器
1.sgi STL"标准"的空间适配器: 该适配器很简单,只是对new delete等内存分配释放函数的一层简单封装而已,所以sgi stl几乎没用上它(效率太低),代码位于defalloc.h.2.sgi stl特殊适配器 std::alloc: 该版本作为stl中的默认适配器,主要分成两个部分:...
分类:其他好文   时间:2014-05-04 12:41:42    阅读次数:381
MVC的Ajax异步请求
@using (Ajax.BeginForm("GetTime","order",new AjaxOptions() { Confirm="你确认这么做吗?", HttpMethod="post", ...
分类:Web程序   时间:2014-05-03 22:50:30    阅读次数:344
Java和C#输入输出流方法
1,JAVA中操作方法: import java.io.*; public class FileInputStreamTest { public static void main(String[] args) throws IOException { //创建字节输入流 FileInputStream fis = new F...
分类:编程语言   时间:2014-05-03 16:48:43    阅读次数:332
[ACM] hdu 1087 Super Jumping! Jumping! Jumping! (动态规划)
Super Jumping! Jumping! Jumping! Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 6   Accepted Submission(s) : 5 Font: Times New Roman | Verdan...
分类:其他好文   时间:2014-05-03 16:47:07    阅读次数:262
cmp指令
1.cmp是比较指令,cmp...
分类:其他好文   时间:2014-05-03 16:46:20    阅读次数:268
复习PHP-语言参考-引用
1.引用指的是不同的名称访问同一个变量内容最简单的例子为:<?php$a=&$b;?>在形参中加入引用变量,则实参会在函数执行时被影响。自PHP5起,new自动返回引用,所以$a=&newa;会报错。注意以下一个示例:<?php$a=5;$b=7;functionfoo(){   global$..
分类:Web程序   时间:2014-05-03 14:42:30    阅读次数:351
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!