摘要: linux c语言开发在本地的虚拟机上演示1、是否安装gccrpm -qa | grep gcc 阅读全文
posted @ 2014-10-28 16:22 kin2321 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include int main(){ int i,j=10; int k=15; i=max(j,k); printf("i=%d\n",i); return 0;}int max(int a,int b){ int c; c=a>b ? a:b; return c;}实... 阅读全文
posted @ 2014-10-28 14:52 kin2321 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 例一:最基本的一个多线程例子package 多线程;public class 多线程first {public static void main(String[] args){Thread t1 = new Thread(new MyThread());// Thread t1 = new Thre... 阅读全文
posted @ 2014-10-28 11:28 kin2321 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Can't connect to host *.*.*.*': 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。--------------------------------------------------------------解决方案:防火墙没有开放相应的端口。1、查... 阅读全文
posted @ 2014-10-28 11:05 kin2321 阅读(1647) 评论(0) 推荐(0) 编辑