一 系统启动//OSAL.cvoid osal_start_system( void ){#if !defined ( ZBIT ) && !defined ( UBIT ) for(;;) // Forever Loop#endif { osal_run_system(); }}二 ...
分类:
其他好文 时间:
2015-05-11 01:22:48
阅读次数:
206
public class TimeThread extends Thread
{
private long start;
public volatile boolean exit = false;
public TimeThread(long start)
{
this.start = start;
}
public void run()
{
while(!exit...
分类:
编程语言 时间:
2015-05-10 19:00:11
阅读次数:
145
安装node1 $ npm install -g express2 $ npm install -g express-generator3 $ express myBlog4 $ cd myBlog && npm install5 $ npm start npm start 之后就跑起来了,打开浏览...
分类:
其他好文 时间:
2015-05-10 17:15:43
阅读次数:
127
在开发游戏中,为了减少不必要的代码量,我们经常会继承MonoBehaviour,那么MonoBehaviour内部的内置方法Start、Update等等如果在父类中定义了,在子类中再次定义会发生什么事呢?我们来看看几个示例: 1 using UnityEngine; 2 using System.C...
分类:
其他好文 时间:
2015-05-10 17:06:59
阅读次数:
161
在Eclipse中添加类的时候,提示如下信息:
Type name is discouraged. By convention, Java type names usually start with an uppercase letter
如下图:
原因是输入的类名“Name”首字母没有大写,把首字母改为大写的就好了。...
分类:
编程语言 时间:
2015-05-10 15:46:18
阅读次数:
154
*声明一个常量 const?MAX?=?4096 *声明一个指定类型的常量 const?LIMIT?int16?=?1024
const?LIMIT2?=?int16(1024) *声明一组常量 const?(
????start??=?0x1?
????resume?=?0x2?
...
分类:
其他好文 时间:
2015-05-10 13:03:18
阅读次数:
118
│assume cs:code││data segment││ dd 1234567h││data ends│││code segment││ start:mov ax,data│ mov ds,ax│ mov bx,0│ mov word p...
分类:
编程语言 时间:
2015-05-10 12:52:08
阅读次数:
128
转自:http://www.jb51.net/LINUXjishu/36171.html一、总结一下:1.linux下启动mysql的命令:mysqladmin start/ect/init.d/mysql start (前面为mysql的安装路径)2.linux下重启mysql的命令:mysqla...
分类:
数据库 时间:
2015-05-10 12:44:03
阅读次数:
157
System.Diagnostics.Process.Start的妙用分类: C#+WINFORM 2009-04-05 21:09 459人阅读 评论(0) 收藏 举报 我们经常会遇到在Winform或是WPF中点击链接或按钮打开某个指定的网址, 或者是需要打开电脑中某个指定的硬盘分区及文件夹, ...
分类:
其他好文 时间:
2015-05-10 11:16:07
阅读次数:
109
uninstall——卸载应用程序 adb uninstall packageName install——安装应用 同理,安装应用其参数也是(包名)。 adb devices——列出所有的设备 adb start-server——开启adb服务 adb kill-server——关闭adb服务 ad...
分类:
数据库 时间:
2015-05-09 21:54:28
阅读次数:
130