Android在3.0中引入了fragments的概念,主要目的是用在大屏幕设备上--例如平板电脑上,支持更加动态和灵活的UI设计.平板电脑的屏幕要比手机的大得多,有更多的空间来放更多的UI组件,并且这些组件之间会产生更多的交互.Fragment允许这样的一种设计,而不需要你亲自来管理vie...
分类:
其他好文 时间:
2014-07-22 23:15:14
阅读次数:
432
第六章 CSS高级应用与技巧6.1 id与class6.1.1 什么是id
id是XHTML元素的一个属性,用于标识对象名称。无论是class还是id,都是XHTML所支持的公共属性,并且也是其核心属性。class的主要功能是用来对对象的样式设置,而id除了可以定义样式外,还能够成为服务网站交互行....
分类:
Web程序 时间:
2014-07-22 23:15:12
阅读次数:
433
第6章
ShellShell就是一个命令解释器,负责完成用户与内核之间的交互。目前流行电Shell主要有:Bourne Shell( sh )、Bourne Again
Shell( Bash )、C Shell( csh )和Korn Shell( ksh ),Ubuntu Linux默认支持电s...
分类:
其他好文 时间:
2014-07-22 23:12:54
阅读次数:
481
1、单链表循环体用while(p->next!=NULL)而不用while(p!=NULL)的原因 node *Find_MidNode(node
*head){ if(head->next==NULL||head->next->next==NULL) return
head->next; node...
分类:
其他好文 时间:
2014-07-22 23:11:15
阅读次数:
374
1、一般情况下,综合器将case语句综合成多路选择器,但也可能综合成优先级译码器。2、case语句中,如果条件列举不完全,将综合出不必要的锁存器。综合器指令://synopsysparallel_case&//synopsysfull_case使用//synopsysparallel_case可以引...
分类:
其他好文 时间:
2014-07-22 23:09:55
阅读次数:
291
给定 ab 与飞 f1 f2 求f(n) = (A * f(n - 1) + B * f(n
- 2)) mod 7.分析:1 因为mod7 0using namespace std;int main(){ int a,b,n; int f[1005];
while(cin>>a>...
分类:
其他好文 时间:
2014-07-22 23:06:34
阅读次数:
391
这题就是 要你找出一个ASCII 的值x使得 :
x^e%n==num(当前输入的数,e条件已给出)zsd:1: ASCII0-255可以枚举2: =a^11 11=1011int pow2( int a,
int b ){ int r = 1, base = a; while( b...
分类:
其他好文 时间:
2014-05-01 16:22:43
阅读次数:
326
1.this.dsConfig = new DataSet();//使用指定的文件将 XML
架构和数据读入 System.Data.DataSet。
this.dsConfig.ReadXml(System.Windows.Forms.Application.StartupP...
分类:
其他好文 时间:
2014-05-01 13:47:02
阅读次数:
304
Real Time Streaming Protocol或者RTSP(实时流媒体协议),是由Real
network 和 Netscape共同提出的如何有效地在IP网络上传输流媒体数据的应用层协议。RTSP提供一
种可扩展的框架,使能够提供可控制的,按需传输实时数据,比如音频和视频文件。源数据可以包...
分类:
其他好文 时间:
2014-05-01 01:26:01
阅读次数:
448
我写的memchr:1 void *memchr(const void *buf, char ch,
unsigned count){2 unsigned int cnt = 0;3 while(*(buf++) != ch && cnt
count)5 ret...
分类:
其他好文 时间:
2014-05-01 00:50:10
阅读次数:
306