效果图:工程图:代码中需要引入第三方库QQView.代码:AppDelegate.h#import //加入头文件#import "myQQView.h"@interface AppDelegate : UIResponder { myQQView *qqview;}@property (st...
分类:
其他好文 时间:
2014-11-28 15:57:11
阅读次数:
149
Math类
java提供了基本的+,-,*,/算数运算符,同时也提供了更复杂的运算符,比如三角函数,对数元,指数运算
Math是一个工具类。它的构造器被定义为private,因此无法创建Math类的对象,Math类中的所有方法都是
类方法,可以直接通过类名来调用,Math除了提供了大量的静态方法,还提供了两个类变量PI和E
public class MathTest{
public st...
分类:
其他好文 时间:
2014-11-27 23:47:13
阅读次数:
380
接上节, 上节只有响应---cout, 本节获取地址栏的QUERY_STRING, 然后响应.一. req_resp.cpp.#include #include #include #include "fcgio.h"#include "fcgi_config.h"using namespace st...
分类:
Web程序 时间:
2014-11-27 20:21:29
阅读次数:
158
VMware vSphere 5.5 update 2VMware vSphere 5.5 update 2于2014年9月发布以来已有一段时间,新版本增加了一些新的功能,修复了以前版本的很多bug,运行更加稳定。现将ST的虚拟化系统升级到最新版本。一、当前版本目前ST虚拟化系统使用的版本为5.5....
分类:
系统相关 时间:
2014-11-27 18:12:53
阅读次数:
346
class Person{private String name;private String location;Person(String name) { this.name = name; location = "BeiJing";}//方法的重载 Person (String name ,St...
分类:
其他好文 时间:
2014-11-27 18:08:42
阅读次数:
147
/*
*copyright(c) 2014,烟台大学计算机学院
*All rights reserved。
*文件名称:国家排序
*作者:王忠
*完成日期:2014.11.27
*版本号:v1.0
*
*问题描述:给10个国家按首字母排序
*输入描述:国家名
*程序输出:输出排序后的国家名
#include
#include
using namespace st...
分类:
编程语言 时间:
2014-11-27 16:23:35
阅读次数:
194
引入gson包//Gson解析.封装服务器返回json结果 Gson gson = new Gson();//1、对象转string Student stu = new Student(); stu.setStudentId(333); st...
分类:
移动开发 时间:
2014-11-26 16:09:55
阅读次数:
244
3、字符串1)字符串的不可变性当你给一个字符串重新赋值之后,老值并没有销毁,而是重新开辟一块空间存储新值。当程序结束后,GC扫描整个内存,如果发现有的空间没有被指向,则立即把它销毁。2)我们可以讲字符串看作是char类型的一个只读数组ToCharArray();将字符串转换为char数组new st...
分类:
其他好文 时间:
2014-11-26 15:41:38
阅读次数:
164
一、聚合函数(Aggregate Functions)AVG:求平均 count:计算个数 MAX:最大值MIN:最小值SUM:求和例:select count(*) as 人数 from student--as 人数,列名显示为“人数”select(select count (*) from st...
分类:
其他好文 时间:
2014-11-25 22:46:44
阅读次数:
178