这里推荐一本书,Makefile手册,本人正在学习,多交流~一、统一编译所有子目录的文件直接上Makefile内容了,AR=arLD=ldCC=gccCFLAGS
= -O2 -Wall -I./Test \ -I./Test/Test1 \#注:"\"后面不能有空格,并且该句写完后最好有个换行#注...
分类:
其他好文 时间:
2014-05-23 07:16:57
阅读次数:
396
DescriptionYour task is to calculate the sum of
some integers.InputInput contains an integer N in the first line, and then N
lines follow. Each line s...
分类:
其他好文 时间:
2014-05-23 06:41:47
阅读次数:
298
The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a litt...
分类:
其他好文 时间:
2014-05-23 02:27:26
阅读次数:
587
有一道这样的面试题:开启一个子线程和主线程同时运行,子线程输出10次后接着主线程输出100次,如此反复50次。先看下面代码:package com.maso.test;
/**
*
* @author Administrator
* 两个线程,其中是一个主线程,第一个线程先运行输出10次,主线程接着运行输出100次,如此反复50次
*/
public class ThreadTest3...
分类:
移动开发 时间:
2014-05-23 00:57:26
阅读次数:
368
编写Test.java,编译完后生成Test.class文件,然后对该文件执行javap -c Test命令,生成字节码指令,阅读并得出结论
一、s1和s2指向常量池的不同常量
①java代码
public class Test {
public static void main(String[] args) throws IOException {
...
分类:
编程语言 时间:
2014-05-22 17:02:59
阅读次数:
434
Cancellation tokenParallel
optionsCancellationTokenSource cancellationTokenSource = new
CancellationTokenSource();Task.Factory.StartNew(() =>{ Thre...
分类:
Web程序 时间:
2014-05-22 16:43:14
阅读次数:
332
学习js,总结了一些需要注意的细节部分,和大家一起分享,共同进步。一、javascript区分大小写js数据类型:1.基本数据类型-数值型,字符串型,布尔型2.复杂类型:数组,对象3.特殊类型:null,undefined二、javascript中函数2种调用方式1.根据函数名直接调用,如:test...
分类:
编程语言 时间:
2014-05-22 16:14:56
阅读次数:
329
--innodb和myisam存储引擎插入速度------------------------------------2014/05/21MySQL
5.6 全部默认设置,插入数据9999条,性能一般的虚拟机。mysql> delete from test;Query OK, 10000 rows
...
分类:
数据库 时间:
2014-05-22 16:12:53
阅读次数:
295
/* 播放录音文件 */private void playMusic(File
file){Intent intent = new
Intent();intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);intent.setAction(android.con...
分类:
其他好文 时间:
2014-05-22 15:18:27
阅读次数:
269