Window --> Preferences --> General --> 
Appearance --> Colors and Fonts --> Basic --> Text Font --> Change
                            
                            
                                分类:
系统相关   时间:
2014-05-05 23:44:47   
                                阅读次数:
457
                             
                         
                    
                        
                            
                            
                                输入子系统在内核中的位置:/driver/input 
drivers/input/input.c: input_init ---> err = register_chrdev(INPUT_MAJOR, 
"input", &input_fops); static const struct file_o...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 23:34:42   
                                阅读次数:
516
                             
                         
                    
                        
                            
                            
                                1 Arrays.sort(points, new comparator());2 3 
public static class comparator implements Comparator {4 public int compare(Point 
p1, Point p2) {5 ...
                            
                            
                                分类:
编程语言   时间:
2014-05-05 23:32:10   
                                阅读次数:
444
                             
                         
                    
                        
                            
                            
                                1、内连接与外连接的最大区别是其查找某个定义时,所采用的策略。 内连接: 
对这个定义的访问被局限在当前编译单元,其他编译单元无法访问,所以在连接时,它不会和其它的编译对象(.o/.obj)对象作比较,所以这些对象,也不能通过extern来访问。(static、const、类的成员/函数) 
...
                            
                            
                                分类:
编程语言   时间:
2014-05-05 21:57:40   
                                阅读次数:
355
                             
                         
                    
                        
                            
                            
                                在2dx3.0中xml解析已经不用自己找库了,已经为我们集成好了。
text.xml
	
	    2012050808
	    crystal
	    T74
        T74
	
	
	     2012050809
	    goodmao
	    T77
	
添加头文件:.h
#include "cocos-ext.h"
#include "tinyxml...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 13:13:56   
                                阅读次数:
229
                             
                         
                    
                        
                            
                            
                                package ioTest.io2;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.util.Properties;
/*
 * 将应用程序的异常信息输出到指定的log文件中
 */
public class ExceptionToFile {
	public static void...
                            
                            
                                分类:
编程语言   时间:
2014-05-04 00:10:27   
                                阅读次数:
298
                             
                         
                    
                        
                            
                            
                                //继承SQLiteOpenHelper类,
public class DictionaryOpenHelper extends SQLiteOpenHelper{
    public static final String DABASENAME = "dictionary";
    private static final int DATABASE_VERSION = 1;
    pri...
                            
                            
                                分类:
移动开发   时间:
2014-05-03 23:49:30   
                                阅读次数:
589
                             
                         
                    
                        
                            
                            
                                BeautifulSoup 善于网页数据分析 ,但是 python for android : BeautifulSoup 有 bug ,
text = h4.a.text 只能取得 None,所以我写了function: getText()
 来fix this bug.
例如: 抓取CSDN极客头条内容  soup.py
import urllib2, re
from Beau...
                            
                            
                                分类:
移动开发   时间:
2014-05-03 17:33:08   
                                阅读次数:
427
                             
                         
                    
                        
                            
                            
                                package ioTest.io2;
import java.io.IOException;
import java.io.InputStream;
/*
 *键盘录入:如果录入的是一行数据打印,如果录入了over就结束录入
 *System.in:标准输入流对象
 *System.out:标准输出流对象
 */
public class ReadIn {
	public static v...
                            
                            
                                分类:
编程语言   时间:
2014-05-03 17:07:53   
                                阅读次数:
268
                             
                         
                    
                        
                            
                            
                                package com.recursion;
import java.io.File;
public class RecursionFile {
public static void main(String[] args) {
File file  = new File("G:/A");
tree(file, 0);
}
private static vo...
                            
                            
                                分类:
编程语言   时间:
2014-05-03 16:07:04   
                                阅读次数:
265