上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 160 下一页
摘要: a += b和a = a + b全然等价么(java)?可能非常多人以为是一样的,事实上并不是等价的,以下看一下证据吧。 public class Test { public static void main(String[] args) { int a = 0; float c = 2.0f; a 阅读全文
posted @ 2017-06-07 16:32 clnchanpin 阅读(708) 评论(0) 推荐(0)
摘要: ***************************************转载请注明出处:http://blog.csdn.net/lttree******************************************* 今天最终把界面交上去了,~~o(>_<)o ~~。花费了好多时间 阅读全文
posted @ 2017-06-07 15:06 clnchanpin 阅读(491) 评论(0) 推荐(0)
摘要: Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top( 阅读全文
posted @ 2017-06-07 13:45 clnchanpin 阅读(177) 评论(0) 推荐(0)
摘要: 先看例如以下布局 : 上图中。按钮的大小为屏幕的一半,然后居中显示在布局中央,每一个人心中都有自己的答案,看看我的方法吧,布局布局xml例如以下 : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:// 阅读全文
posted @ 2017-06-07 13:00 clnchanpin 阅读(483) 评论(0) 推荐(0)
摘要: /** 游戏场景的搭建 1首先创建一个surfaceview ,它能够在子线程中更新UI(全局的) 2然后在oncreate方法中对这个surfaceview进行实例化 3使用setcontentview方法将这个surfaceview对象给设置到界面上显示出来 4获取一个导演 5告诉导演将画面现到 阅读全文
posted @ 2017-06-07 12:14 clnchanpin 阅读(255) 评论(0) 推荐(0)
摘要: 主要内容:二维数组和指针。&*a[i][0]的理解、数组1[e]和e[1] #include <stdio.h> #define NUM_ROWS 10 #define NUM_COLS 10 int main(int argc, char **argv) { int a[NUM_ROWS][NUM 阅读全文
posted @ 2017-06-07 10:59 clnchanpin 阅读(534) 评论(0) 推荐(0)
摘要: using System.Net; # region 获取内、外网Ip /// <summary> /// 获取本地ip地址,优先取内网ip /// </summary> public static String GetLocalIp() { String[] Ips = GetLocalIpAdd 阅读全文
posted @ 2017-06-07 10:58 clnchanpin 阅读(7372) 评论(0) 推荐(1)
摘要: Comparison of Android versions Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1172 Accepted Sub 阅读全文
posted @ 2017-06-07 10:08 clnchanpin 阅读(193) 评论(0) 推荐(0)
摘要: 一、单节点的安装 1.伪分布式的安装 1.1 改动ip (1)打开VMWare或者VirtualBox的虚拟网卡 (2)在VMWare或者VirtualBox设置网络连接方式为host-only (3)在linux中,改动ip。有上角的图标,右键,选择Edit Connections.... *** 阅读全文
posted @ 2017-06-07 08:56 clnchanpin 阅读(193) 评论(0) 推荐(0)
摘要: 您会让自己的小孩将来从事软件研发吗? 非常多程序猿,都已经30多岁了。过了而立之年,有了自己的老婆,自己温馨的小家庭,自己可爱的小孩。小孩也都是00后的。 “您会让自己的孩子从事软件研发吗?” 本来小孩的事情,小孩自己做主。 但同学、朋友、同事等,见面或者聚会,都会谈起这个问题。也算一个话题吧! 可 阅读全文
posted @ 2017-06-06 20:42 clnchanpin 阅读(122) 评论(0) 推荐(0)
上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 160 下一页