制作出这样的效果首先建立了一个all.html<framesetrows="20%,*"frameborder="1"framespacing=5bordercolor=red><framesrc="top.html"noresize/>//top.html暂时用一张图片替代<framesetcols="20%,*"framespacing=5><framsrc="left.html"noresize/>//nor..
分类:
其他好文 时间:
2014-05-27 03:25:59
阅读次数:
293
正确代码:#include "stdio.h"
#include "Windows.h"
#include
int wmain(int argc, wchar_t* argv[])
{
setlocale(LC_ALL, "chs");
wprintf(L"%s\n", L"中文字符");
}其关键代码为:setlocale(LC_ALL, "chs");配置地域化信息函数为什么一定要调用...
分类:
其他好文 时间:
2014-05-22 13:02:06
阅读次数:
254
问题描述
对一个单链表进行插入排序,head指向第一个结点。
代码
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/...
分类:
其他好文 时间:
2014-05-22 10:15:43
阅读次数:
233
1.创建一个sql文件,test.sql;INSERT INTO
TR_HK_RC_TEMPERATURE2 (HWINSTANCEID, KPIITEMID, BRANCHID, COLLECTTIME,
KPINUMBERVALUE, INSERTTIME)select scadadevicei...
分类:
数据库 时间:
2014-05-22 05:18:38
阅读次数:
307
Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the origi...
分类:
其他好文 时间:
2014-05-22 03:53:29
阅读次数:
313
1.删除短信的函数,一条一条的删除所有短信/* * Delete all SMS one by one
*/ public void deleteSMS() { try { ContentResolver CR = getContentResolver();...
分类:
移动开发 时间:
2014-05-22 01:45:15
阅读次数:
444
Find a number which appears once in an array with
all the other numbers appear twice.
分类:
其他好文 时间:
2014-05-22 01:08:40
阅读次数:
278
今天在写一个sql的时候,使用了hive的unionall,运行时报错。sql如下:selectdimension_name,dt,dtype_name,uv,new_uv,old_uv,pv,stay_timefromtemp_bi.uv
unionall
select‘平台‘dimension_name
,dt
,app_platformdtype_name
,count(distinctmid)uv
,count(distinctcasewhenis_..
分类:
其他好文 时间:
2014-05-20 23:53:32
阅读次数:
527
_hashMap.insert(pair<String,HASH_TABLE*>(tmp,hashtabletmp));这句会报segment或abort错误经同事帮看,也翻来覆去自查,终于发现原来是malloc中hTable->hList=(pHASH_ENTRY)malloc(hTable->listLen*(HASH_ENTRY_SIZE));这句写成了hTable->hList=(pHASH_ENTRY)..
分类:
其他好文 时间:
2014-05-20 20:20:34
阅读次数:
288
jQuery函数的第二个参数可以指定DOM元素的搜索范围。
第二个参数可分为以下类型
DOM referencejQuery wrapperdocument
代码示例
// search within all form elements, using a wrapper for context,
// alerts "8...
分类:
Web程序 时间:
2014-05-20 16:32:25
阅读次数:
377