using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
数据库 时间:
2014-06-04 17:30:04
阅读次数:
214
在开发中,我们经常遇到中文乱码的问题,比方:&浏览器中看到的 Jsp/Servlet
页面中的汉字成了 ’?’ ? &浏览器中看到的 Servlet 页面中的汉字都成了乱码 &Jsp/Servlet 页面无法显示 GBK 汉字。
&Jsp/Servlet 不能接收 form 提交的汉字。 &J...
分类:
Web程序 时间:
2014-06-04 17:23:17
阅读次数:
192
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
数据库 时间:
2014-06-04 17:15:53
阅读次数:
287
看了Mustache的github,学学此中的语法,做个笔记1.简单的变量调换:{{name}}1 var data = { "name": "Willy"
};2 Mustache.render("{{name}} is awesome.",data);返回成果Willyis awesome.2....
分类:
Web程序 时间:
2014-06-04 17:15:14
阅读次数:
326
iOS: 属性列表介绍 Introduction to Property
Lists从本质上说, 属性列表就是苹果的对象数据序列化与反序列化方式属性列表使用几种数据类型把数据组织为键值表和值表 Property lists
organize data into named values and li...
分类:
移动开发 时间:
2014-06-04 17:09:32
阅读次数:
274
引例:class X{};class Y:public virtual X{};class
Z:public virtual X{};class A:public Y,public Z{};X Y Z A类对象的大小是多少??1>
没有提供empty virtual base特殊支持的编译器:1 8...
分类:
其他好文 时间:
2014-06-04 17:07:38
阅读次数:
242
最近一个项目中要点击WEB页面上的链接启动自己编写的程序,而且还要接收参数,google了1.5小时,终于初步试验通过了。尝试google了:web send
message windows form, bs call cs program, custom protocol...多个关键字组合,发现...
分类:
Web程序 时间:
2014-06-04 16:18:01
阅读次数:
321
AX Accumulator 用累加器进行的操作 输入输出 乘除 操作BX 基址寄存器 (Base
Register) CX 计数寄存器 (Count Register)常用于 循环 计数器 在 位操作中 要用 CL来指明 位移的位数DX 数据寄存器(Data
Register) 在 进行 双字节 ...
分类:
其他好文 时间:
2014-06-04 15:38:43
阅读次数:
251
<?php
/**
* 生成永远唯一的激活码
* @return string
*/
function create_guid($namespace = null) {
static $guid = '';
$uid = uniqid ( "", true );
$data = $namespace;
$data .= $_SERVER ['REQUEST_TIME']; //...
分类:
Web程序 时间:
2014-06-02 18:55:35
阅读次数:
327
最近一直用惯了C#,陡然间改回C++都有些不习惯了!吐槽一下,C#太方便了!!!
言归正传,C++里有些时候会用到String转char*这个功能,于是进来搜到了一些方法:
如果你申请了这样一个字符串:string str = "This is a test!",那么:
1、str.data()可以返回该字符串对应的char *,如char *p = str.data();
2、s...
分类:
编程语言 时间:
2014-06-02 18:53:33
阅读次数:
347