进入mysqlserver
如下:
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 810
Server version: 5.6.10 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights rese...
分类:
数据库 时间:
2014-09-03 15:03:46
阅读次数:
243
@synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:
移动开发 时间:
2014-09-03 12:33:06
阅读次数:
302
有两个图片新建一个CloseLight类CloseLight.himport<UIKit/UIKit.h>
@interfaceCloseLight:UIViewController
@property(nonatomic,assign)NSIntegertag;
@endCloseLight.m#import"CloseLight.h"
@interfaceCloseLight()
@end
@implementationCloseLight
-(id)initWithNib..
分类:
其他好文 时间:
2014-09-03 11:25:56
阅读次数:
205
Description
A suspension bridge suspends the roadway from huge main cables, which extend from one end of the bridge to the other. These cables rest on top of high towers and are secured at each end...
分类:
其他好文 时间:
2014-09-03 00:20:15
阅读次数:
334
1.TextView显示的内容过长时自己主动显示省略号:省略号的位置:android:ellipsize="end" 省略号在结尾android:ellipsize="start" 省略号在开头android:ellipsize="middle" 省略号在中间TextView显示的行数:...
分类:
其他好文 时间:
2014-09-02 19:47:15
阅读次数:
204
一、只想让TextView显示一行,但是文字超过TextView的长度怎么办?
在开头显示省略号
android:singleLine="true"
android:ellipsize="start"
在结尾显示省略号
android:singleLine="true"
android:ellipsize="end"
在中间显示省略号
android:sing...
分类:
移动开发 时间:
2014-09-02 17:52:05
阅读次数:
210
for循环for i in range(): #注意冒号 range中默认从0开始 或者从指定的数字开始 到给定数字的前一个数字结束 递增递减皆是如此 for循环提供变量的自动初始化for i in range(10): print(i,end = ' ')prin...
分类:
编程语言 时间:
2014-09-02 11:45:54
阅读次数:
242
declare cursor s is select version from city_server t; s_ city_server.version%type;begin open s; fetch s into s_; if s_>2 then DBMS_OUTPUT.put_line(s_); end if; close s;end;...
分类:
数据库 时间:
2014-09-02 10:35:24
阅读次数:
200
1、应用与原理
在C语言中又是我们无法给出一个函数参数的列表,比如:
int printf(const char *format, ...); int fprintf(FILE *stream, const char *format, ...);
这是我们使用到了可以变参数,也就是使用...代表0个或多个参数。
那么编译器如何获取/...
分类:
其他好文 时间:
2014-09-02 09:06:44
阅读次数:
362
Expression in parentheses(), square bracket[], and curly braces{}can span multiple lines.A backslash (\) at the end of the line denotes continuation t...
分类:
编程语言 时间:
2014-09-02 05:51:34
阅读次数:
238