码迷,mamicode.com
首页 >  
搜索关键字:particle system    ( 49360个结果
python读取文本、配对、插入数据脚本
#-*- coding:UTF-8 -*-#-*- author:Zahoor Wang -*-import codecs, os, sys, platform, stringdef env():return platform.system()def read_file(uri, charset =...
分类:编程语言   时间:2014-05-16 04:30:50    阅读次数:306
Java:基础
Hello World //HelloWorld.java文件 public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello World!”); } } 编译运行 javac ...
分类:编程语言   时间:2014-05-16 04:11:27    阅读次数:306
c# 简单队列的实现
我们知道队列 就是在内容内存分配连续的内存空间,实现先进先出的逻辑,FIFO(LILO),这里用到了.net 4.0 的ConcurrentQueue类,(带线程安全的队列类),也可以用Queue ,多线程中自行同步。代码可直接复制运行 1 using System; 2 using System....
分类:其他好文   时间:2014-05-16 04:07:11    阅读次数:276
装箱和拆箱
1. 装箱是将值类型转换为 object 类型或由此值类型实现的任何接口类型的过程。装箱是隐式的。当 CLR 对值类型进行装箱时,会将该值包装到 System.Object 内部,再将后者存储在托管堆上。装箱和取消装箱的概念是类型系统 C# 统一视图的基础,其中任一类型的值都被视为一个对象。2. 拆...
分类:其他好文   时间:2014-05-16 03:53:13    阅读次数:220
提防toString递归问题
看这个代码: public class D { @Override public String toString() { return "obj:"+this; } public static void main(String[] args) { System.out.println(new D()); }...
分类:其他好文   时间:2014-05-15 20:18:38    阅读次数:277
系统编程是什么
目录(?)[+]  部分摘自《Linux System Programming 》作者: Robert Love 刘建文略译(http://blog.csdn.net/keminlau) KEY:系统论 系统编程 System Programming 过去的Unix编程是没有系统不系统之分的。即便是开发 X Window也是在系统级(system-level...
分类:其他好文   时间:2014-05-15 19:37:44    阅读次数:263
交换密钥与安全传输
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Security....
分类:其他好文   时间:2014-05-15 17:20:45    阅读次数:329
Linq:First FirstOrDefault
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace TestConsole{ ...
分类:其他好文   时间:2014-05-15 17:07:04    阅读次数:187
恢复Cisco 2960交换机密码
重启交换机,按住mode键。flash_initswitch:dirflash:switch:renameflash:config.textflash:config.oldswitch:bootWouldyouliketoentertheinitialconfigurationdialog?[yes/no]:noSwitch>enSwitch#renameflash:config.oldflash:config.textDestinationfilename[config.text]..
分类:其他好文   时间:2014-05-15 12:46:02    阅读次数:279
js调用后台方法 (AjaxPro.2.dll的基本使用)
1. 在web.config文件中的<system.web>加入以下设置2. 添加一个页面,页面名称为Defalut.aspx在后台Defalut.aspx.cs页面写以下代码:protected void Page_Load(object sender, EventArgs e){ AjaxPr....
分类:Web程序   时间:2014-05-15 12:04:12    阅读次数:264
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!