上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 354 下一页
摘要: 近期工作比較忙,所以更新的慢了一点,今天的主要内容是关于Android版2048的逻辑推断,经过本篇的解说,基本上完毕了这个游戏的主体部分。 首先还是看一下,我在实现2048时用到的一些存储的数据结构。我在实现时,为了省事存储游戏过程中的变量主要用到的是List。 比方说:List<Integer> 阅读全文
posted @ 2017-08-06 09:10 yfceshi 阅读(227) 评论(0) 推荐(0)
摘要: Python实现抓取http://www.cssmoban.com/cssthemes站点的模版并下载 实现代码 # -*- coding: utf-8 -*- import urlparse import urllib2 import re import os import os.path URL 阅读全文
posted @ 2017-08-06 08:07 yfceshi 阅读(306) 评论(0) 推荐(0)
摘要: D. Bicycle Race time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Maria participates in a b 阅读全文
posted @ 2017-08-05 17:02 yfceshi 阅读(149) 评论(0) 推荐(0)
摘要: 下载地址 高清 1.3M 重构-改善既有代码的设计 $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = 阅读全文
posted @ 2017-08-05 15:34 yfceshi 阅读(164) 评论(0) 推荐(0)
摘要: 入手文章,大神绕行。一。服务端搭建 我使用的服务端版本号为:cas-server-3.4.11-release.zip。解压之后,将\cas-server-3.4.11-release\cas-server-3.4.11\modules\cas-server-webapp-3.4.11.war文件改 阅读全文
posted @ 2017-08-05 14:53 yfceshi 阅读(482) 评论(0) 推荐(0)
摘要: 生产者/消费者模式 简单介绍 用来干嘛的? 生产者/消费者模式的产生主要目的就是为了解决非同步的生产与消费之间的问题。 什么是非同步呢? 比方我刚刚生产了某个产品,而此时你正在打游戏,没空来取,要打完游戏来取,这就导致了我生产产品和你取产品是两个非同步的动作,你不知道我什么时候生产完产品,而我也不知 阅读全文
posted @ 2017-08-05 13:00 yfceshi 阅读(495) 评论(0) 推荐(0)
摘要: click here ~~ ***The Perfect Stall*** Description Farmer John completed his new barn just last week, complete with all the latest milking technology. 阅读全文
posted @ 2017-08-05 12:25 yfceshi 阅读(160) 评论(0) 推荐(0)
摘要: 工具:Eclipse,Oracle,smartupload.jar。语言:jsp,Java;数据存储:Oracle。 实现功能介绍: 主要是新建相冊,能够建多个相冊,在相冊中加入多张照片,删除照片,删除相冊,当相冊下有照片时先删除照片才干删除相冊。 由于每一个相冊和照片要有所属人。所以顺带有登录功能 阅读全文
posted @ 2017-08-05 11:40 yfceshi 阅读(496) 评论(0) 推荐(0)
摘要: 刚刚在string字符串资源文件里,写了一个单引號。报错了,错误代码例如以下 error: Apostrophe not preceded by \ (in OuyangPeng's blog ) 资源文件例如以下: <?xml version="1.0" encoding="utf-8"?> <r 阅读全文
posted @ 2017-08-05 10:49 yfceshi 阅读(1324) 评论(0) 推荐(0)
摘要: 在C++编程中实现数据的输入/输出能够用cin>>ch/cout<<ch; 可是使用cin>>ch或cout<<ch并不能实现一些特殊的数据的输入或者输出,比方输入复数、输出复数、输入时间、输出时间 为了解决对于特殊数据的输入和输出在C++中能够使用运算符重载的方式实现。能够通过重载>>和<<运算符 阅读全文
posted @ 2017-08-05 09:27 yfceshi 阅读(283) 评论(0) 推荐(0)
上一页 1 ··· 213 214 215 216 217 218 219 220 221 ··· 354 下一页