At the midnight of September 20, I finished my individual projcet -- a word frequency program. You can find requirements in details athttp://www.cnblo...
分类:
其他好文 时间:
2014-09-22 18:36:53
阅读次数:
328
1、官网下载jdk.tar.gz包,解压后就是安装好JDK了2、进入cjh@ubuntu:~/android/jdk1.8.0_11/bin目录下,能看到java等程序输入java -version提示The program 'java' can be found in the following ...
分类:
编程语言 时间:
2014-09-22 16:50:22
阅读次数:
160
Condition的含义是条件变量,其实现依赖于系统,一般都要配合Mutex使用,使用步骤为:给mutex上锁(Lock),调用wait等待“条件”发生,如果没有发生则re-wait(),最后释放mutex(unlock),并继续执行。所有等待(wait)同一个“条件变量(condition)”的线...
分类:
移动开发 时间:
2014-09-21 18:37:51
阅读次数:
410
本篇体验:如何传递数据给线程,如何给线程命名,线程的异常处理,线程池。实在是太基础的部分。 □ 传递数据给线程 ※ 使用Lambda表达式 class Program { static void Main(string[] args) { Thread t = new Thread(() => Sa...
分类:
编程语言 时间:
2014-09-21 12:12:40
阅读次数:
285
class Program { static void Main(string[] args) { #region 数组内容反转 string[] names = { "马云", "李彦宏", "马化腾", "乔布斯", ...
分类:
其他好文 时间:
2014-09-20 17:36:19
阅读次数:
213
DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new proble...
分类:
其他好文 时间:
2014-09-20 17:03:49
阅读次数:
304
Eclipse中出现这样的问题:Collect preferences failed, class java/lang/AutoCloseable not found in D:\Program Files (x86)\Android\android-sdk\platforms\android-19...
分类:
移动开发 时间:
2014-09-20 14:03:27
阅读次数:
4381
1、创建新C#控制台应用程序,项目命名createBll,打开Program.cs重命名为TestA(可以不重命名)并修改代码,如图:写好后,可以写其它的类.cs文件2、完成后,点击菜单栏的“项目”,下拉单选择“createDll属性”,打开如图窗口在输出类型选择“类库”,然后关掉该窗口,生成解决方...
分类:
其他好文 时间:
2014-09-20 13:59:27
阅读次数:
106
简单的 shell script 练习简单范例 对谈式脚本:变量内容由使用者决定[root@www scripts]# vi sh02.sh#!/bin/bash# Program:# User inputs his first name and last name. Program shows.....
分类:
其他好文 时间:
2014-09-20 08:49:06
阅读次数:
239
什么是 Shell scriptsshell script (程序化脚本) :shell script 是针对 shell 所写的『脚本!』shell script 是利用 shell 的功能所写的一个『程序 (program)』,这个程序是使用纯文字档,将一些 shell 的语法与命令(含外部命....
分类:
其他好文 时间:
2014-09-20 08:48:36
阅读次数:
239