在unity开发中出现这个bug。 在网上查了下是在迭代器中直接修改引起的。c#是不允许你在迭代器中直接修改。 改了一下确实解决。 原本是这样 [csharp] view plain copy public void Run() { foreach (var item in timerDict) { ...
分类:
编程语言 时间:
2016-08-04 19:02:02
阅读次数:
232
Java中print、printf、println的区别详解 printf主要是继承了C语言的printf的一些特性,可以进行格式化输出 print就是一般的标准输出,但是不换行 println和print基本没什么差别,就是最后会换行 System.out.printf("the number i ...
分类:
编程语言 时间:
2016-08-04 17:46:26
阅读次数:
161
前言 什么,你现在还在看knockout.js?这货都已经落后主流一千年了!赶紧去学Angular、React啊,再不赶紧的话,他们也要变out了哦。身旁的90后小伙伴,嘴里还塞着山东的狗不理大蒜包,却依然振振有词地喋喋不休,一脸真诚。是啊,前端发展太快,那边前几年出的框架已是无人问津的半老徐娘,而 ...
分类:
Web程序 时间:
2016-08-04 15:10:13
阅读次数:
192
1. Bitmap 转化为 byteByteArrayOutputStream out = new ByteArrayOutputStream();bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);byte[] array= out.toByt ...
分类:
移动开发 时间:
2016-08-04 13:25:09
阅读次数:
148
public void Out(out int a, out int b) {//out相当于return返回值 //可以返回多个值 //拿过来变量名的时候,里面默认为空值 a=1; b=2; } static void Main(string[] args) { int a = 0; int b ...
字符流和字节流的区别 拿一下上一篇文章的例子: 第8行"out.close()"注释掉可以看一下效果,"writer.txt"一定是空的,控制台上输出的是"文件中无数据",说明一下原因。 字符流和字节流非常相似,但也有区别,从网上找了一张图: 、 从图上看,字符流和字节流最大的区别在于,字节流在操作 ...
分类:
编程语言 时间:
2016-08-04 13:06:13
阅读次数:
219
查找所在目录的方式如下: System.out.println(System.getProperty(“java.io.tmpdir”)); System.getProperty(),还可以获取更多其他的系统字符,具体可以查看文档 在我电脑上打印的log日志是: C:\Users\wxl19\App ...
分类:
编程语言 时间:
2016-08-04 10:34:04
阅读次数:
344
2016年8月4日 星期四 --出埃及记 Exodus 16:4Then the LORD said to Moses, "I will rain down bread from heaven for you. The people are to go out each day and gather ...
分类:
其他好文 时间:
2016-08-04 09:00:35
阅读次数:
144
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2594 题目: Problem Description Homer: Marge, I just figured out a way to discover some of the talents we ...
分类:
其他好文 时间:
2016-08-04 01:34:46
阅读次数:
195
函数imadjust将图像I中的亮度值映射到J中的新值 J = imadjust(I,[low_in; high_in],[low_out; high_out]) 二维图调用格式,三维图同理 low_in 以下的值映射到 low_out,high_in 以上的值映射到high_out。 [low_o ...
分类:
其他好文 时间:
2016-08-04 01:22:54
阅读次数:
160