码迷,mamicode.com
首页 >  
搜索关键字:surface book    ( 5453个结果
第五章、图的遍历
第一节、深度与广度优先,究竟是指啥?(无向图)p131 DFS遍历图 1 #include 2 int book[101],sum,n,e[101][101]; 3 4 void dfs(int cur) 5 { 6 int i; 7 printf("%d ",cur); 8 sum...
分类:其他好文   时间:2014-10-20 11:18:00    阅读次数:274
android sqlite关于数据表的问题
============问题描述============ 我在程序里新建了两个数据库,“book.db”和"book4.db",然后分别在其中新增了一张数据表“localbook”和"localbook4",结果在程序运行时,两张表都可以新建,但是当我向一张表中插入数据以后,另一张表就无法插入(空表...
分类:移动开发   时间:2014-10-19 23:10:40    阅读次数:266
第四章、万能的搜索
第一节、深度优先搜索p78 输出全排列的 dfs 方法#include int a[10],book[10],n;void dfs(int step){ int i; if(step==n+1) { for(i=1;iint a[10],book[10],n;void dfs(int s...
分类:其他好文   时间:2014-10-19 22:50:36    阅读次数:265
C中多变的结构体 struct typedef
这几天看代码,看到几种类型的结构体,结构声明如下: struct    book{    string name;    int price;    int num; }; 此种结构定义结构变量的格式如下: struct    book      student;  struct      book{    string name;    int price;...
分类:其他好文   时间:2014-10-19 18:39:26    阅读次数:270
第三章、枚举!很暴力
第一节、坑爹的奥数p59 穷举 3位数+3位数=3位数,1~9九个数,只能用一次。#include int main(){ int a,b,c,d,e,f,g,h,i,total=0; for(a=1; aint main(){ int a[10], i, total = 0, book[10...
分类:其他好文   时间:2014-10-19 14:17:45    阅读次数:296
Android OpenGlL GLSurfaceView基本实现方法
GLSurfaceView 是一个视图,继承至SurfaceView,它内嵌的surface专门负责OpenGL渲染。在使用的时候要实现以下几步。一、创建自定义1类继承自GLSurfaceView,并创建构造器二、创建自定义2类实现GLSurfaceView.Renderer接口 重写onDraw....
分类:移动开发   时间:2014-10-19 01:14:38    阅读次数:362
Python中的__new__及其用法
__new__和__init__的区别 __new__是Python面向对象语言中一个很少用的函数,更多使用的是__init__这个函数。例如: class?Book(object): ????def?__init__(self,?title): ????????super(Book,?s...
分类:编程语言   时间:2014-10-18 18:33:57    阅读次数:229
Android提高第二篇之SurfaceView的基本使用
本文来自http://blog.csdn.net/hellogv/ ,引用必须注明出处! 上次介绍MediaPlayer的时候略微介绍了SurfaceView,SurfaceView因为能够直接从内存或者DMA等硬件接口取得图像数据,因此是个非常重要的画图容器,这次我就用两篇文章来介绍Surface...
分类:移动开发   时间:2014-10-18 12:22:48    阅读次数:223
KVC
#import "ViewController.h"#import "Student.h"#import "Book.h"#import "News.h"@interface ViewController ()@end@implementation ViewController- (void)vie...
分类:其他好文   时间:2014-10-17 23:07:53    阅读次数:284
HBase性能调优
因官方Book Performance Tuning部分章节没有按配置项进行索引,不能达到快速查阅的效果。所以我以配置项驱动,重新整理了原文,并补充一些自己的理解,如有错误,欢迎指正。配置优化zookeeper.session.timeout 默认值:3分钟(180000ms) 说明:RegionS...
分类:其他好文   时间:2014-10-17 18:30:05    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!