wxColourDialog*?dialog?=?new?wxColourDialog(NULL);
??if(dialog->ShowModal()?==?wxID_OK?)
??{
???wxColourData?data?=?dialog->GetColourData();
???dialog->Destroy();
??} 不要...
分类:
其他好文 时间:
2015-04-17 20:39:22
阅读次数:
134
Webservice的服务端用JDK1.6+自带的Webservice做的,客户端用的是XFile的webservice调用的,但是传过来的参数为NULL.
XFile的调用方式是:
String wsdl = "http://192.168.1.112:8088/testService?wsdl";
try {
Client clien...
分类:
Web程序 时间:
2015-04-17 20:32:41
阅读次数:
158
equals()
实现equals()
参数必须是Object,而不能是外围类
覆盖equals()时,也要覆盖相应的hashCode(),与equals(),保持一致
另外注意String的默认值是null
public class Person {
private String name;
private int birthYear;
byte[] raw;
@Ove...
分类:
编程语言 时间:
2015-04-17 20:29:34
阅读次数:
139
use [0325] --使用0325数据库 create table student --创建表格 ( code int primary key identity(1,1) not null, --列 name varchar(50)not null, --列 se...
分类:
数据库 时间:
2015-04-17 20:29:26
阅读次数:
159
1.StringUtils.isBlank(CharSequencecs)booleanorg.apache.commons.lang3.StringUtils.isBlank(CharSequencecs)ChecksifaCharSequenceiswhitespace,empty("")ornull.StringUtils.isBlank(null)=trueStringUtils.isBlank("")=trueStringUtils.isBlank("")=trueStringUtils.isBla..
分类:
其他好文 时间:
2015-04-17 18:30:07
阅读次数:
115
1. malloc()函数
1.1 malloc的全称是memory allocation,中文叫动态内存分配。
原型:extern void *malloc(unsigned int num_bytes);
说明:分配长度为num_bytes字节的内存块。如果分配成功则返回指向被分配内存的指针,分配失败返回空指针NULL。当内存不再使用时,应使用free()函数将内存块释放。
1....
分类:
其他好文 时间:
2015-04-17 18:24:20
阅读次数:
190
模拟请求前需要开发提供1、wsdl地址2、消息体3、返回值Action(){ int offset;char *checkValue="ROUTING";char *isFound;char *strResponse;char *strValue="(null)";lr_think_time(10....
分类:
Web程序 时间:
2015-04-17 17:58:46
阅读次数:
794
1.void GetMemory(char *p)
{
p = (char *)malloc(100);
}
void Test(void)
{
char *str=NULL;
GetMemory(str);
strcpy(str,"Hello World");
printf(str);
}请问运行Test函数会有什么样的结果?
程序编译可以通过,...
分类:
编程语言 时间:
2015-04-17 15:41:38
阅读次数:
181
select decode(cmobileno,null,'',substr(cmobileno,1,3) || '****' || substr(cmobileno,length(cmobileno)-3,4)) CMOBILENO from TB_USER...
分类:
移动开发 时间:
2015-04-17 15:41:09
阅读次数:
189
文件的操作1,提高速度 使用文件指针2 文件指针与磁盘文件建立联系,以后对文件操作都将通过文件指针来进行。 fopen(文件名,使用文件方式) 文件打开不成功 将返回一个空指针NULL 文件使用方式 r w rb wb fgetc() getc() 从指定文件中一次读取一个字符 ...
分类:
其他好文 时间:
2015-04-17 15:31:42
阅读次数:
123