Android Digital Video: Formats, Concepts and Optimization Android Digital Video Formats: MPEG4 H.264 and WebM VP8 H.263 支持老显示器 MPEG4 SP supported for commercial video(支持商业视频) 3GP Google在...
分类:
移动开发 时间:
2014-07-22 23:01:15
阅读次数:
381
首先下载glog-0.3.3.tar.gz,解压,直接打开VS工程,我用了动态库,
新建win32 console test
把src\windows包含进来,../Debug/libglog.lib链接进来,这样就ok了。
新建main.cpp:
#define GLOG_NO_ABBREVIATED_SEVERITIES
#include
#include
using...
分类:
其他好文 时间:
2014-07-22 22:59:35
阅读次数:
1075
搭建环境介绍:硬件平台:HP Z800 工作站 内存:24GB 硬盘:1TB虚拟化环境:XenServer 6.2.0VM1:Ubuntu 12.04 amd64 server | IP:192.168.137.50VM2:Ubuntu 12.04 amd64 server | IP:192.168.137.51VM3:Ubuntu 12.04 amd64 server | IP:19...
分类:
移动开发 时间:
2014-07-22 22:59:34
阅读次数:
461
很早之前,就听说过三层结构了。当时只知道 三层结构 是把 系统的 界面 跟 数据库操作等不相关的程序分别开来。原来这么简单的实现,确实传说中的 三层结构啊。
首先,先来看一下是哪三层。表示层(UI,User Interface),业务逻辑层(BLL BusinessLogicLayer),数据访问层(DAL Data Access Layer)。三层的划分是物理上的划分。
表示层(UI),这...
分类:
其他好文 时间:
2014-05-02 23:09:09
阅读次数:
369
最近需要实验室需要将在无人机地面站中嵌入地图,在网上找了很多资料,终于有些眉目了,
首先,做这个需要用到的知识有,MFC控件、MFC类库、JavaScript脚本语言,Google API、Google离线地图;由于google离线地图不怎么会,首先从google在线地图开始。
下面总结一下这几天搞google地图的步骤,有附图,对MFC和JS脚本语言不懂的同学有用。
在线Google 地图...
分类:
其他好文 时间:
2014-05-02 20:28:49
阅读次数:
521
29:数组中出现次数超过一半的数字 方法a. 排序取中 O(nlogn) 方法b.
partition 函数分割找中位数 >=O(n) 方法 c. 设计数变量,扫描一遍。 O(n)#include int findNumber(int
data[], unsigned length){/* if(c...
分类:
其他好文 时间:
2014-05-02 19:47:41
阅读次数:
535
①解决安卓SDK更新dl-ssl.google.com无法连接进入C:\Windows\System32\drivers\etc下,用记事本打开host文件://74.125.237.1
dl-ssl.google.com74.125.23.190 dl-ssl.google.com②eclipse...
分类:
移动开发 时间:
2014-05-02 12:15:03
阅读次数:
343
一、静态化并不是单例模式
初学者可能会犯的错误, 误以为把所有的成员变量和成员方法都用 static 修饰后, 就是单例模式了:
class Singleton
{
public:
/* static method */
private:
static Singleton m_data; //static data member 在类中声明,在...
分类:
编程语言 时间:
2014-05-02 04:48:34
阅读次数:
541
总用有两个文件(frmMain.cs
SqlHelper.cs)//frmMain.cs//作者:Meusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
S...
分类:
数据库 时间:
2014-05-02 00:24:24
阅读次数:
499
其实这个错误很简单,就是当我们在国际化的时候,写key,写着写着就忘了加 ";" 所以查看一下自己的Localization文件就可以了...
分类:
移动开发 时间:
2014-05-01 08:43:53
阅读次数:
660