#import "ViewController.h"#import "cal.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *calrusult; @end float i=10.0;@i...
分类:
其他好文 时间:
2014-07-14 09:40:03
阅读次数:
282
JNI事实上是Java Native Interface的简称,也就是java本地接口。它提供了若干的API实现了和Java和其它语言的通信(主要是C&C++)。或许不少人认为Java已经足够强大,为什么要须要JNI这样的东西呢?我们知道Java是一种平台无关性的语言,平台对于上层的java代码来说...
分类:
其他好文 时间:
2014-07-14 09:08:01
阅读次数:
268
建三个UIViewController 的子控制器,其中一个为根控制器,另外两个控制器的视图作为切换对象AppDelegate中代码//AppDelegate.h中代码#import @interface AppDelegate : UIResponder @property (retain, no...
分类:
其他好文 时间:
2014-07-13 23:15:04
阅读次数:
284
HDMI,全称为(High Definition Multimedia Interface)高清多媒体接口,主要用于传输高清音视频信号。HDMI引脚:HDMI有A,B,C,D,E五种引脚类型,目前市面中比较常见的就是Type A:其中 1-9都是TMDS数据传输实际上用到的引脚,分为0,1,2三组....
分类:
其他好文 时间:
2014-07-13 21:57:21
阅读次数:
341
Web ADI示例:供应商站点录入(版权声明,本人原创或者翻译的文章如需转载,如转载用于个人学习,请注明出处;否则请与本人联系,违者必究)原文:http://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CBwQFjAA&url=http%3A%2F%2Ferpwebsolutions....
分类:
Web程序 时间:
2014-07-13 15:49:04
阅读次数:
273
下列内容为本人看毕向东老师java视频教程学习笔记!JAVA GUI图形用户界面编程:Windows 操作系统提供两种操作方式: 1.GUI 2.CLI; GUI:Grahi User Interface ,图形用户界面。 特点:用图形的方式,来显示计算机操作的界面,这样更方便更直观。 CL...
分类:
编程语言 时间:
2014-07-13 13:12:39
阅读次数:
263
1.修改redhat enterprise5 语言
问题描述:切换语言
cd /etc/sysconfig
vi i18n
将LANG=en_US.UTF-8
改成LANG=zh_CN.gb2312
2.bash: ifconfig: command not found
问题描述:
切换到root用户下
[root@localhost /]$ ifconfig
依然提示:“bash: ifconfig: command not found”
whereis ifconfig 看一下这个命令在...
分类:
系统相关 时间:
2014-07-12 22:56:34
阅读次数:
416
#import "ViewController.h"
@interface ViewController ()
@property (strong,nonatomic) NSArray *bj;
@property (strong, nonatomic)NSArray *gd;
@end
@implementation ViewController
- (void)viewDidLoad...
分类:
其他好文 时间:
2014-07-12 22:22:54
阅读次数:
286
经验:支持”编译依存性最小化“的一般构想是:相依于声明式,不要相依于定义式。
基于此构想的两个手段是 Handle classes 和 Interface classes.
示例:相依于定义式
#include
#include "date.h"
#include "address.h"
class Person{
public:
Person(const std::string &name, const Data &birthday, const Address &addr);
st...
分类:
编程语言 时间:
2014-07-12 19:39:46
阅读次数:
347
上一次我们讲的例子原角色只有一个,这时我们只需要继承即可。如果有多个实现类呢,Java不支持多重继承,那么我们就重新写一个实现类,然后把其他的类通过引用过来即可,举例来说明:
package adapter.demo;
public interface IUserInfo {
//获得用户姓名
public String getUserName();
//获得家庭地址
public S...
分类:
其他好文 时间:
2014-07-12 17:56:21
阅读次数:
143