上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 53 下一页

2013年8月19日

更新整理本人所有博文中提供的代码与工具(Java,2013.08)

摘要: 为了更方便地管理博文中涉及的各种代码与工具资源,现在把这些资源迁移到 Google Code 中,有兴趣者可前往下载。Java1、《高效 Java Web 应用开发框架 JessMA v3.2.2 正式发布》摘要:JessMA(原名:Portal-Basic)是由 JessMA Open Source 开发的一套高效 Java Full-Stack Web 应用开发框架,内置可扩展的 MVC Web 基础架构和 DAO 数据库访问组件(内部已提供了 Hibernate、MyBatis 与 JDBC DAO 组件),集成了 Action 拦截、Form / Dao / Spring Bean . 阅读全文

posted @ 2013-08-19 19:08 bbsno 阅读(115) 评论(0) 推荐(0)

[置顶] cocos2d实现CCLabelTTF真正字体描边效果

摘要: 在开发游戏中,我们需要在需要在游戏中显示一个字体轮廓比较清晰的效果,我们就需要给字体的周围进行描边,让字体显示比较更加突出,我重写了cclabelttf类,使它具有描边的特效,和描边的大小以及颜色。。。开发人员:Jason's.Alex QQ:531401335csdn博客:http://blog.csdn.net/RuShrooM #include "cocos2d.h"using namespace cocos2d;class StrokeLabelTTF : public cocos2d::CCNode{public: StrokeLabelTTF(); ~S 阅读全文

posted @ 2013-08-19 19:06 bbsno 阅读(436) 评论(0) 推荐(0)

POJ 1904 King's Quest - from lanshui_Yang

摘要: Description Once upon a time there lived a king and he had N sons. And there were N beautiful girls in the kingdom and the king knew about each of his sons which of those girls he did like. The sons of the king were young and light-headed, so it was possible for one son to like several girls. So th. 阅读全文

posted @ 2013-08-19 19:03 bbsno 阅读(159) 评论(0) 推荐(0)

UVA 10602 Editor Nottoobad(贪心)

摘要: Problem CEDITOR NOTTOOBADCompany Macrohard has released it’s new version of editor Nottoobad, which can understand a few voice commands. Unfortunately, there are only two voice commands that it can understand – “repeat the last word”, “delete the last symbol”. However, when one uses “repeat the last 阅读全文

posted @ 2013-08-19 19:01 bbsno 阅读(139) 评论(0) 推荐(0)

traincascade.exe 出错:死循环在某个阶段

摘要: 参考:(参数 -numPos设置错误)Theproblemisthatyourvec-filehasexactlythesamesamplescountthatyoupassedincommandline-numPos979.Trainingapplicationusedallsamplesfromthevec-filetotrain0-stageanditcannotgetnewpositivesamplesforthenextstagetrainingbecausevec-fileisover.Thebugoftraincascadeisthatithadassert()insuchcas 阅读全文

posted @ 2013-08-19 18:59 bbsno 阅读(413) 评论(1) 推荐(0)

Qt给对话框增加背景

摘要: 下一个项目要用qt来开发,看了几天的文档。来写一篇给对话框增加背景的一个小例子。来看一种添加.bmp的图片。新建一个对话框程序。继承CDialogl.classDialog:publicQDialog{Q_OBJECTpublic:explicitDialog(QWidget*parent=0);~Dialog();private:Ui::Dialog*ui;};我也是最近才自学,有什么写的不对的地方,还请指出。谢谢。说一下,qt5.1已经不支持。#include这句话啦。我来先来定义一个私有的成员变量。QImage _image;再来定义一个受保护的方法。protected void... 阅读全文

posted @ 2013-08-19 18:57 bbsno 阅读(542) 评论(0) 推荐(0)

2013年8月18日

.net网站开发(一):3.Div+Css布局

摘要: 上一讲是关于CSS,这次DIV+CSS理解完了之后,就可以开始开发网站咯!我觉得在开始开发网站之前,就算无法设计一个漂亮的网页,但起码要理解好DIV+CSS进行布局和样式控制。这样至少还知道怎么修改别人的模板,知道怎样灵活输出对应的内容到对应的区域。我的微薄:http://weibo.com/u/2448939884 欢迎程序员互粉。 头部Logo、导航等 左方图片区 右方内容区 底部 在这里我无法详细去说明CSS标签选择器的各个规则,但这些规则适用于以后要将的jQuery,到时再一起讲述。 阅读全文

posted @ 2013-08-18 22:31 bbsno 阅读(300) 评论(0) 推荐(0)

CF 337D(Book of Evil-distdown[]-distup[])

摘要: D. Book of Eviltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPaladin Manao caught the trail of the ancient Book of Evil in a swampy area. This area containsnsettlements numbered from 1 ton. Moving through the swamp is very difficult, so people 阅读全文

posted @ 2013-08-18 22:29 bbsno 阅读(333) 评论(0) 推荐(0)

[置顶] 武汉科技大学官方OJ开发日志(持续更新)

摘要: 时间:2013.08.14今天主要是完成了contest模式下private和std登陆部分的代码1.private权限的比赛登录时需要输入比赛所设定的密码。这里所涉及到的代码在/template/bs/contest_login.php当输入完密码后,需要验证密码的正确与否,则上述form表单转向/private_login.php中进行验证,验证时需要从contest表读出cid对应的密码与输入密码对比,如果输入正确,则设置session[‘c’.$cid],然后跳转到对应的contest.php页面,此时就可以看到比赛的题目2.STD权限的比赛登录时需要输入比赛所设定的用户名和密码。这里 阅读全文

posted @ 2013-08-18 22:26 bbsno 阅读(634) 评论(0) 推荐(0)

四元数学习之四元数和矩阵的转换

摘要: 四元数学习之四元数和矩阵的转换 四元数是一种可以替代矩阵和欧拉角的数学工具。他最初是由William Rowan Hamilton发现的(参考维基百科),它的最大的特点是不满足交换率。也谈一下自己对这一点的体会。在离散数学中有讲到半群、群、环和域的概念,其中环的定义是具有交换率和分配率(详情参考环的数学定义),而域的概念则是在环的基础上加上了交换率。所以说四元数无法满足域的定义,它是除法环的一种。何为除法环?其实很简单,被除数和除数都满足结合律和分配律,但是如果要满足交换律,即被除数和除数交换位置,那么它的结果是不同的(准确地说,如果它们不为0的话,那么结果呈倒数关系)。又由于要在四维解空间上 阅读全文

posted @ 2013-08-18 22:24 bbsno 阅读(6692) 评论(0) 推荐(0)

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 53 下一页

导航