SQL连接可以分为内连接、外连接、交叉连接。数据库数据:book表 stu表1.内连接1.1.等值连接:在连接条件中使用等于号(=)运算符比较被连接列的列值,其查询结果中列出被连接表中的所有列,包括其中的重复列。1.2.不等值连接:在连接条件使用除等于运算符以外的其它比较运算符比较被连接的列的列值。...
分类:
数据库 时间:
2014-10-17 00:25:33
阅读次数:
380
首先我们先来看下官方API对SurfaceView的介绍 SurfaceView的API介绍 Provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface and, if you lik...
分类:
移动开发 时间:
2014-10-16 19:49:23
阅读次数:
251
题目:模拟输出n页书的装订打印状态。
分析:模拟。页数为(n+3)/ 4,只有n不超过半篇时会输出半篇。
说明:好多以前做过的题目(⊙_⊙)。
#include
#include
#include
int book[30][4];
int main()
{
int n;
while (~scanf("%d",&n) && n) {
int page = (n+3)/4;
...
分类:
其他好文 时间:
2014-10-15 01:20:19
阅读次数:
221
第一、strong关键字与retain关似,用了它,引用计数自动+1
如果person定义如下:
@interface Person : NSObject
@property(nonatomic,strong)Book *book1;
@end @autoreleasepool {
p1=[[Person alloc] init];
Book *book...
分类:
其他好文 时间:
2014-10-14 19:57:39
阅读次数:
207
点击这里查看文章有空试试~~~唉。。。Ubuntu (Linux) on Atom Z3700 SeriesASUS Transformer Book T100 is particularly interesting platform, because some guys at XDA develo...
分类:
系统相关 时间:
2014-10-14 17:07:49
阅读次数:
304
Writing Surface ShadersWriting shaders that interact with lighting is complex. There are different light types, different shadow options, different re...
分类:
编程语言 时间:
2014-10-14 15:53:58
阅读次数:
382
最近接触到了SurfaceView,SurfaceHolder,SurfaceHolder.CallBack,一直不求其解,现在来粗浅认识一下它们。先看一下官方的定义:1.SurfaceViewSurfaceView是视图(View)的继承类,这个视图里内嵌了一个专门用于绘制的Surface。你可以...
分类:
移动开发 时间:
2014-10-14 14:36:28
阅读次数:
179
好久没有更新过我的博客了,主要前一阵子去了实习,现在实习进入尾声,终于有机会看看书了。在前一阵子的实习中,用到最多就是PHP的CI框架和Jquery,所以现在再看一本有关PHP的书籍来深刻认识一下PHP吧。也推荐一下大家看这本书:http://book.douban.com/subject/2071...
分类:
Web程序 时间:
2014-10-14 01:46:27
阅读次数:
555