gavanwanggw

导航

2017年4月21日 #

改动Androidproject的名称(非Eclipse重命名)

摘要: 问题背景 在Eclipse,Import新的Android源代码project时。假设Eclipse的workspace已经存在同样名称project,是无法导入的。 网上有非常多改动工程名的方法。是在导入后。使用Refactor的rename方式。但这种方法前提是仅仅能更改已导入的project。 阅读全文

posted @ 2017-04-21 21:38 gavanwanggw 阅读(154) 评论(0) 推荐(0) 编辑

Cocos2d-x3.2 LayerMultiplex使用说明

摘要: LayerMultiplex是层的控制器类 使用例如以下 LayerMultiplexTest.h // // LayerMultiplexTest.h // cpp4 // // Created by 杜甲 on 10/13/14. // // #ifndef __cpp4__LayerMulti 阅读全文

posted @ 2017-04-21 20:17 gavanwanggw 阅读(156) 评论(0) 推荐(0) 编辑

[moses笔记]编译含有nplm的moses解码器

摘要: ACL2014的best paper Fast and Robust Neural Network Joint Models for Statistical Machine Translation在SMT中使用深度学习知识,提出了一种neural network joint model(事实上就是融 阅读全文

posted @ 2017-04-21 18:45 gavanwanggw 阅读(668) 评论(1) 推荐(0) 编辑

菲波那契数列编程实现

摘要: http://blog.csdn.net/pipisorry/article/details/37660419 斐波那契数列 因数学家列昂纳多·斐波那契以兔子生殖为样例而引入,故又称为“兔子数列”。 fibonacci 数列定义: n = 1,2 时,fib(n) = 1 n > 2 时,fib(n 阅读全文

posted @ 2017-04-21 17:48 gavanwanggw 阅读(235) 评论(0) 推荐(0) 编辑

引领网页设计潮流的优秀网页作品赏析

摘要: 内容已转移到:引领网页设计潮流的优秀网页作品赏析 内容已转移到:引领网页设计潮流的优秀网页作品赏析 内容已转移到:引领网页设计潮流的优秀网页作品赏析 阅读全文

posted @ 2017-04-21 16:33 gavanwanggw 阅读(510) 评论(0) 推荐(0) 编辑

MFC中获取各个窗口之间的句柄或者指针对象的方法

摘要: MFC在非常多的对话框操作中,我们常常要用到在一个对话框中调用还有一个对话框的函数或变量.能够用例如以下方法来解决. HWND hWnd=::FindWindow(NULL,_T("Sphere")); //得到对话框的句柄 C***Dialog* pWnd= (C***Dialog*)C***Di 阅读全文

posted @ 2017-04-21 15:21 gavanwanggw 阅读(17294) 评论(0) 推荐(0) 编辑

UVALive 6529 Eleven 区间dp

摘要: 题目链接:点击打开链接 题意: 给定一个数,又一次排列这个数的各个位置使得 1、无前导0 2、能被11整除 问: 有多少种组合方法 #include <cstdio> #include <cstring> #include <algorithm> using namespace std; typed 阅读全文

posted @ 2017-04-21 14:18 gavanwanggw 阅读(141) 评论(0) 推荐(0) 编辑

jquery 实现菜单的下拉菜单

摘要: 实现效果如图: 源码: 到此下载 实现效果如图: 源码: 到此下载 阅读全文

posted @ 2017-04-21 13:36 gavanwanggw 阅读(104) 评论(0) 推荐(0) 编辑

数字图像和视频处理的基础-第4周运动预计matlab练习题

摘要: In this problem you will perform block matching motion estimation between two consecutive video frames. Follow the instructions below to complete this 阅读全文

posted @ 2017-04-21 12:05 gavanwanggw 阅读(207) 评论(0) 推荐(0) 编辑

setjmp与longjmp

摘要: 在C中有时我们会使用goto语句用于运行跳转,可是不能跨越函数 #include <stdio.h> void func2() { int num = 0; dst2: if (num > 0) { printf("func1()\n"); func3(); } if (num == 1) retu 阅读全文

posted @ 2017-04-21 10:45 gavanwanggw 阅读(159) 评论(0) 推荐(0) 编辑

ZOJ - 3725 Painting Storages

摘要: Description There is a straight highway with N storages alongside it labeled by 1,2,3,...,N. Bob asks you to paint all storages with two colors: red a 阅读全文

posted @ 2017-04-21 09:26 gavanwanggw 阅读(157) 评论(0) 推荐(0) 编辑

Java Collection之Queue具体解释及用途

摘要: Queue是一种常见的数据结构,其主要特征在于FIFO(先进先出),Java中的Queue是这样定义的: public interface Queue<E> extends Collection<E> { E element(); boolean offer(E o); E peek(); E po 阅读全文

posted @ 2017-04-21 08:34 gavanwanggw 阅读(1060) 评论(0) 推荐(0) 编辑

动态链表增删改查及排序功能

摘要: 主要功能的实现: #include "SeqList.h" void InitSeqList(SeqList * pSeq)//初始化 { assert(pSeq); pSeq->array = (DataType*)malloc(sizeof(DataType)*DEFAULT_CAPICITY) 阅读全文

posted @ 2017-04-21 08:03 gavanwanggw 阅读(347) 评论(0) 推荐(0) 编辑