自制项目模板 exports文件夹放在根目录; ogreApps这个压缩文件放在vs2012项目模板目录下,以后点击新建项目于OGRE_SDK/Apps即可啦。OGRE_SDK即为安装目录 项目里面我是用了cmd命令,每次生成程序时,都会把expor...
分类:
其他 时间:
2015-10-16 20:53:09
收藏:
0 评论:
0 赞:
0 阅读:
331
原文 Last Christmas, the circus owner, Jimmy Gates, decided to take some presents to a children‘ hospital. Dressed up as Father Christmas and accompanied by a ‘guard of honour‘ of six pretty girls,...
分类:
其他 时间:
2015-10-16 20:52:56
收藏:
0 评论:
0 赞:
0 阅读:
543
extern?"C"{
#include?"src/lualib.h"
#include?"src/lauxlib.h"
#include?"src/lua.h"
}
#include?"iostream"
using?namespace?std;
int?get_sum(lua_State?*l)
{
int?n?=?lua_gettop(l);/*获...
分类:
其他 时间:
2015-10-16 20:52:26
收藏:
0 评论:
0 赞:
0 阅读:
331
背景最近在学QML,感觉也不难,就是一直以来接触 Qt 的脚本类的东西的顺序是Script、Quick1、Declarative、Quick2、QML。那么每一个都是干什么的呢,这些东西搞的我有点混乱,所以决定把他们的大概都先弄清楚,以便更好地学习。历史先去扒一下它们的历史。QtScript 从 Q...
分类:
其他 时间:
2015-10-16 20:49:14
收藏:
0 评论:
0 赞:
0 阅读:
363
A题。发现是递推可以解决这道题,a[n]=6*a[n-1]-a[n-2]。因为是求和,可以通过一个三维矩阵加速整个计算过程,主要是预处理出2^k时的矩阵,可以通过这道题 1 #include 2 #include 3 #include 4 #include 5 #define LL long...
分类:
其他 时间:
2015-10-16 20:48:14
收藏:
0 评论:
0 赞:
0 阅读:
340
如果你在某个目录使用composer.phar,而且在别的目录页使用了composer,并没有全局安装composer的时候,不同目录之间的可能会互相干扰从而报错root@tyr:/var/www/html/laravel# composer global require "laravel/inst...
分类:
其他 时间:
2015-10-16 20:47:54
收藏:
0 评论:
0 赞:
4 阅读:
8647
TTTAttributedLabel 库地址 https://github.com/TTTAttributedLabel/TTTAttributedLabel#import "ViewController.h"@interface ViewController () @end@implementa....
分类:
其他 时间:
2015-10-16 20:47:24
收藏:
0 评论:
0 赞:
0 阅读:
1067
这次我们主要学习使用opencv的图片读取。Opencv 提供了imread 函数能够很快的读取图片,你可以用Mat类型的对象进行接收,imread函数的原型是:1 Mat imread(const string& filename, int flags);第一个参数是文件名称第二个是读取的方式,I...
分类:
其他 时间:
2015-10-16 20:47:04
收藏:
0 评论:
0 赞:
0 阅读:
187
Time Limit:1000MSMemory Limit:65536KTotal Submissions:4533Accepted:2780DescriptionAlice and Bob decide to play a funny game. At the beginning of the g...
分类:
其他 时间:
2015-10-16 20:46:24
收藏:
0 评论:
0 赞:
0 阅读:
286
F -City GameTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluBob is a strategy game programming specialist. In his new city building game t...
分类:
其他 时间:
2015-10-16 20:45:44
收藏:
0 评论:
0 赞:
0 阅读:
296
与UIViewController有区别,就是UITableViewController自身的带的是tableView。AppDelegate.m#import "AppDelegate.h"#import "RootTableViewController.h"@interface AppDeleg...
分类:
其他 时间:
2015-10-16 20:45:24
收藏:
0 评论:
0 赞:
0 阅读:
335
TCP四次挥手 TCP的连接的拆除需要发送四个包,因此称为四次挥手(four-wayhandshake)。客户端或服务器均可主动发起挥手动作,在socket编程中,任何一方执行close()操作即可产生挥手操作。
分类:
其他 时间:
2015-10-16 20:44:54
收藏:
0 评论:
0 赞:
0 阅读:
403
欧拉函数是积性函数——若m,n互质,φ(mn)=φ(m)φ(n)。特殊性质:当n为奇数时,φ(2n)=φ(n),φ(x)=x(1-1/p1)(1-1/p2)(1-1/p3)(1-1/p4)…..(1-1/pn),其中p1,p2,p3,p4,……pn为x的所有质因数,原因:如果x = p^k,那么p的...
分类:
其他 时间:
2015-10-16 20:44:14
收藏:
0 评论:
0 赞:
0 阅读:
260
MarketTime Limit:2 Seconds Memory Limit:65536 KBThere's a fruit market in Byteland. The salesmen there only sell apples.There arensalesmen in the frui...
分类:
其他 时间:
2015-10-16 20:44:04
收藏:
0 评论:
0 赞:
0 阅读:
386
基于Qt开发的第三方库分类:Qt2014-02-12 11:341738人阅读评论(0)收藏举报QT第三方库目录(?)[+]文章来源:http://blog.csdn.net/zhgn2/article/details/14613519QxOrmQxOrmis a new open source O...
分类:
其他 时间:
2015-10-16 20:42:44
收藏:
0 评论:
0 赞:
0 阅读:
745
Contact.h#import @interface Contact : NSObject{ NSString *_name; NSString *_gender; NSInteger _age; NSString *_address; NSString *_phoneNumber; ...
分类:
其他 时间:
2015-10-16 20:42:34
收藏:
0 评论:
0 赞:
0 阅读:
424
环境说明:笔记本A、B均运行Ubuntu 14.04,两台笔记本通过无线网卡上网,用一根网线连接两台笔记本的有线网卡。网络拓扑:其中,vm1 vm2 S1位于笔记本A,vm3 vm4 S2位于笔记本B。所有VM均为virtualBox虚拟机(CorePlus.iso是一个很轻量的Linux版本)。操...
分类:
其他 时间:
2015-10-16 20:41:44
收藏:
0 评论:
0 赞:
0 阅读:
323
1 class Solution { 2 public: 3 ListNode* deleteDuplicates(ListNode* head) { 4 ListNode prehead(0); 5 prehead.next=head; 6 ...
分类:
其他 时间:
2015-10-16 20:41:34
收藏:
0 评论:
0 赞:
0 阅读:
290
原创作品,允许转载,转载时请务必以超链接形式标明文章原始出处、作者信息和本声明。否则将追究法律责任。http://oldboy.blog.51cto.com/2561410/775056运维人员必须熟悉的运维工具汇总某日受邀请参加了一个BBS活动,于是有了下面的内容。下面是在linux网站运维方向老...
分类:
其他 时间:
2015-10-16 20:40:44
收藏:
0 评论:
0 赞:
0 阅读:
286
Bob wants to pour waterTime Limit:2 Seconds Memory Limit:65536 KB Special JudgeThere is a huge cubiod house with infinite height. And there are some s...
分类:
其他 时间:
2015-10-16 20:40:34
收藏:
0 评论:
0 赞:
0 阅读:
328