好好学习c#代码,学了怎么调用类using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace robot{
class Program { static...
分类:
其他好文 时间:
2014-05-15 10:45:07
阅读次数:
263
try catch finally 语句中
如果try中有返回语句,如果在fianlly代码块中有对这个值修改的话,并不影响其放回值public class Test { public static
void main(String[] string){ System.out.p...
分类:
其他好文 时间:
2014-05-15 10:38:40
阅读次数:
209
public class Test { public static void
main(String[] string){ int i = Integer.MAX_VALUE; System.out.println(i); ...
分类:
其他好文 时间:
2014-05-15 10:13:33
阅读次数:
224
Java Web项目结构(一般)
1、Java src
2、JRE System Library
3、Java EE 6 Libraries
4、Web App Libraries
5、WebRoot...
分类:
编程语言 时间:
2014-05-15 00:03:29
阅读次数:
310
program Test;{$APPTYPE CONSOLE}uses System,
System.SysUtils; const Value: array[0..5] of Byte = (5, 72, 101, 76, 76, 111); {
Old ShortString represent...
分类:
其他好文 时间:
2014-05-14 23:42:03
阅读次数:
475
program Project1;{$APPTYPE CONSOLE}{$R *.res}uses
System.SysUtils;TYPE Trec = record Member1, Member2: Integer; end;CONST IntRec:
Trec = (Member1: 55;...
分类:
其他好文 时间:
2014-05-14 23:18:51
阅读次数:
554
systeminfo/c net localgroup administrators(user)
分类:
其他好文 时间:
2014-05-14 22:38:42
阅读次数:
290
CMS,Content Management System,一个很普通的网站内容管理系统,本文章旨在从一定的高度把CMS的功能概念做一个分解论述 ,希望读者可以有所感!...
分类:
其他好文 时间:
2014-05-14 21:28:40
阅读次数:
276
首先 将该代码挂在NGUI的UIroot上
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
Screen.SetResolution(1024, 768, true);//自己想要的分辨率,比如1024*768,true表示全...
分类:
其他好文 时间:
2014-05-14 19:24:25
阅读次数:
404
1.简单Java多线程例子(继承Thread)publicclasshelloextendsThread{
privateStringname;
publichello(Stringname){
this.name=name;
}
publicvoidrun(){
for(inti=0;i<5;i++){
System.out.println(name+"运行..."+i);
}
}
publicstaticvoidmain(String[]args){
hellohel..
分类:
编程语言 时间:
2014-05-14 17:45:57
阅读次数:
318