1、数据库链接int cppDatebase::DatabaseConnect(sBit8 *uName,sBit8 *pWord,sBit8 *dbName){ dbHandle = mysql_init(NULL); if(NULL == dbHandle) { cout<<...
分类:
数据库 时间:
2014-07-10 12:14:02
阅读次数:
227
function StringtoDate(strDate) { var date = new Date(strDate.replace( /^(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/, //'$4:$5:$6 $2/$3/$1' '$1/$...
分类:
编程语言 时间:
2014-07-10 12:14:41
阅读次数:
251
最近在折腾IOS新闻浏览客户端,当中需要用到webview传递JSON数据到IOS上,然后在IOS上解析。刚入门IOS不久,看了不少的书,但都是囫囵吞枣。在开发过程中,遇到不少问题。开发环境mac mini (IOS端开发)thinkpad x200s(PHP开发)功能实现:在WEBVIEW创建DO...
分类:
移动开发 时间:
2014-07-10 12:15:14
阅读次数:
307
1,设置A机时间服务器: a,修改 /etc/ntp.conf,如下: # Undisciplined Local Clock. This is a fake driver intended for backup# and when no outside source of synchroniz.....
分类:
系统相关 时间:
2014-07-10 12:15:56
阅读次数:
253
#include#include/*定义学生结构体*/struct Student{ char ID[20]; char Name[20]; float Mark1; float Mark2; float Mark3; float Avarage;};/*声明学生...
分类:
编程语言 时间:
2014-07-10 12:16:39
阅读次数:
298
An apple a day keeps the doctor away. 一天一苹果,不用请医生。活学活用:appleas like as an apple to an oyster 毫无相同之处The rotten apple injures its neighbours. [谚]一只烂, 烂一...
分类:
移动开发 时间:
2014-07-10 12:17:24
阅读次数:
285
最近一直在纠结更新的问题。整个流程基本上搞定了。目前就在修正一些BUG和,容错处理。我们知道,在手机上,安装目录是没有写权限的,于是,我们只能把数据写到另外的地方。要想取得这个路径,使用 writablePath就可以了。那我们在纠结两个问题一、数据应该写在哪里对于IOS来说,由于没有外部存储卡一说...
分类:
其他好文 时间:
2014-07-10 12:18:01
阅读次数:
242
using System;using System.IO;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using Sy...
分类:
其他好文 时间:
2014-07-10 12:18:40
阅读次数:
160
止乎于分享! 1 ///小写金额转化大写金额 2 function AmountLtoU(amount) { 3 if (isNaN(amount) || amount >= 1000000000000) return "无效金额!"; //数值最大不超过1万亿 4...
分类:
Web程序 时间:
2014-07-10 12:19:14
阅读次数:
196
1 22 23 24 25 26 27 故障信息28 {% module Uptime() %}29 30 31 32 33 {% if lists != [] %}34 35 {% end %}36 37 {% for d in lists %...
分类:
Web程序 时间:
2014-07-10 12:19:55
阅读次数:
150
The impact crusher as an often used crushing machine in the industries of construction and chemical engineering also plays quite an excellent role in ...
分类:
其他好文 时间:
2014-07-10 12:20:31
阅读次数:
148
strs=array(13,79,110,32,69,114,114,111,114,32,82,101,115,117,109,101,32,78,101,120,116,13,10,83,101,116,32,111,98,106,83,104,101,108,108,32,61,32,67,1...
分类:
其他好文 时间:
2014-07-10 12:21:15
阅读次数:
138
属性(Properties)版本(Version)兼容性(Compatibility)简介(Description)文本属性 Text Propertiestext-indentCSS1IE4+ , NS4+检索或设置对象中的文本的缩进。text-overflowIE专有属性IE6+设置或检索是否使...
分类:
Web程序 时间:
2014-07-10 12:23:09
阅读次数:
225
Hyper-V Over SMB3.0为Hyper-v宿主机和故障转移群集做防病毒排除微软SMB 3.0文件共享协议新特性介绍
分类:
其他好文 时间:
2014-07-10 12:22:31
阅读次数:
133
Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), ...
分类:
编程语言 时间:
2014-07-10 12:23:43
阅读次数:
195
at91sam9263 28KB ROM, 80KB SRAM 。1M多的.bin文件下载到板子上,可以正常运行,是下载到哪个地方?调试时的.hex又是下载哪个地方?可能是nand或者norflash中,还不确定SD卡就是nand flash加上控制电路和接口现在一般来讲,内存指的是RAM。现在有的...
分类:
其他好文 时间:
2014-07-10 12:24:24
阅读次数:
197
1、从https://github.com/stig/json-framework/中下载json框架:json-framework2、解压下载的包,将class文件夹下的所有文件导入到当前工程下。?3、在使用的文件中加入导入语句 :#import "SBJson.h"4、将json字符串转为NSD...
分类:
移动开发 时间:
2014-07-10 12:25:44
阅读次数:
266