上一页 1 ··· 246 247 248 249 250 251 252 253 254 ··· 316 下一页
摘要: ***************************************转载请注明出处:http://blog.csdn.net/lttree******************************************* 今天最终把界面交上去了,~~o(>_<)o ~~。花费了好多时间 阅读全文
posted @ 2017-06-07 15:06 clnchanpin 阅读(493) 评论(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 阅读(178) 评论(0) 推荐(0)
摘要: 先看例如以下布局 : 上图中。按钮的大小为屏幕的一半,然后居中显示在布局中央,每一个人心中都有自己的答案,看看我的方法吧,布局布局xml例如以下 : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:// 阅读全文
posted @ 2017-06-07 13:00 clnchanpin 阅读(484) 评论(0) 推荐(0)
摘要: /** 游戏场景的搭建 1首先创建一个surfaceview ,它能够在子线程中更新UI(全局的) 2然后在oncreate方法中对这个surfaceview进行实例化 3使用setcontentview方法将这个surfaceview对象给设置到界面上显示出来 4获取一个导演 5告诉导演将画面现到 阅读全文
posted @ 2017-06-07 12:14 clnchanpin 阅读(258) 评论(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 阅读(536) 评论(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 阅读(7374) 评论(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 阅读(198) 评论(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 阅读(196) 评论(0) 推荐(0)
摘要: 您会让自己的小孩将来从事软件研发吗? 非常多程序猿,都已经30多岁了。过了而立之年,有了自己的老婆,自己温馨的小家庭,自己可爱的小孩。小孩也都是00后的。 “您会让自己的孩子从事软件研发吗?” 本来小孩的事情,小孩自己做主。 但同学、朋友、同事等,见面或者聚会,都会谈起这个问题。也算一个话题吧! 可 阅读全文
posted @ 2017-06-06 20:42 clnchanpin 阅读(124) 评论(0) 推荐(0)
摘要: 思路:在自己定义shape中添加一层或多层。并错开。就可以显示阴影效果。为添加立体感,button按下的时候,仅仅设置一层。我们能够通过top, bottom, right 和 left 四个參数来控制阴影的方向和大小。关系图下面自己定义两种阴影效果:res/drawable-hdpi/shadow 阅读全文
posted @ 2017-06-06 19:49 clnchanpin 阅读(198) 评论(0) 推荐(0)
上一页 1 ··· 246 247 248 249 250 251 252 253 254 ··· 316 下一页