AC signals can emanate from many sources, and many of these sources are incompatible with the most popular interface voltages, such as TTL. A temptati...
分类:
其他好文 时间:
2014-11-28 14:13:40
阅读次数:
190
The popular USB interface can charge a portable device while transferring data. But for high-capacity batteries, the 500-mA output current of USB host...
分类:
其他好文 时间:
2014-11-28 14:12:33
阅读次数:
169
效果图:工程图:此代码需要加入第三方库BECheckBox.代码:#import "RootViewController.h"//加入头文件#import "BECheckBox.h"@interface RootViewController ()@end@implementation RootVi...
分类:
其他好文 时间:
2014-11-28 11:47:50
阅读次数:
132
效果图:工程图:此代码需要加入第三方库MainPageView.代码:RootViewController.h#import @class MainPageView;@interface RootViewController : UIViewController{ MainPageView* ...
分类:
其他好文 时间:
2014-11-28 09:52:20
阅读次数:
192
如何使用KVC存取对象属性呢?看个示例1、使用KVC定义一个Student类,继承于NSObject。.h文件#import @interface Student : NSObject{ NSString *name;}@end.m文件#import "Student.h"@implement...
分类:
其他好文 时间:
2014-11-27 23:30:59
阅读次数:
354
JNI是Java Native Interface的 缩写。从Java 1.1开始,Java Native Interface (JNI)标准成为java平台的一部分,它允许Java代码和其他语言写的代码进行交互。JNI一开始是为了本地已编译语言,尤其是C和C++而设计的,但是它并不妨碍你使用其他语...
分类:
编程语言 时间:
2014-11-27 23:27:37
阅读次数:
280
一.关于GDI的基本概念
什么是GDI
Windows绘图的实质就是利用Windows提供的图形设备接口GDI(Graphics
Device Interface)将图形绘制在显示器上。
在Windows操作系统中,动态链接库C:\WINDOWS\system32\gdi32.dll(GDI Client DLL)中定义了GDI函数,实现与设备无关的包括屏...
分类:
编程语言 时间:
2014-11-27 18:37:41
阅读次数:
130
考察以下代码:class AbstractBase{public: virtual IBase() = 0; virtual Interface() const = 0; virtual const char* Member() const {return _memb...
分类:
其他好文 时间:
2014-11-27 18:16:23
阅读次数:
195
场景A控制器中有一个Label B控制器中有一个文本输入框textFieldA push 到B 当,B返回A时,我们让B中文本框的内容展示到A中去第一步: 在B中定义Block#import typedef void(^PassValueOption)(NSString*);@interface ....
分类:
移动开发 时间:
2014-11-27 18:06:10
阅读次数:
159
在Java中,接口(interface)的所有成员变量默认是public static final,也只能是public static final。 所有的方法默认是public,也只能是public。注:接口中的方法都是抽象方法,但不需要写abstract。即下面...
分类:
编程语言 时间:
2014-11-27 17:58:55
阅读次数:
137