非静态成员函数编译器内部已将member函数实体转换为对等的nonmember函数实体。转化步骤:1.改写函数原型以安插一个额外的参数到member function中,使class object可以调用该函数,该额外参数为this指针。2.将函数中每一个对nonstatic data member...
分类:
编程语言 时间:
2014-07-16 16:54:01
阅读次数:
190
Size of Data TypesAlways use sizeof() to get the size of types(sizeof(char), sizeof(short), sizeof(int)...)Do not depend on the order of evaluation in...
分类:
其他好文 时间:
2014-07-16 15:51:58
阅读次数:
191
一、前言 由于工作需要最近把邮件发送封装成WebService,现在把代码记录在此,以便日后查阅。二、二话不说写代码 private void _SendMail(string form, string pw,...
分类:
Web程序 时间:
2014-07-16 15:47:35
阅读次数:
194
程序中用到一个大整数。存储在 MySQL 数据库那边用了 bigint 类型,程序运算过程中就有了点麻烦。integer用不了,只能用 __int64 这个数据类型。麻烦一,从数据表取数据。以前在数据表取回整形数据时用的都是Query->FieldByName("data")->AsInteger这...
分类:
编程语言 时间:
2014-07-16 15:35:52
阅读次数:
230
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u...
1.手动分离数据库;2.手动删除日志文件;3.重新生成日志文件:CREATE DATABASE FMIS0ON (FILENAME = 'E:\FMIS0_DATA\FMIS0-Date') FOR ATTACH_REBUILD_LOG ;GO
分类:
数据库 时间:
2014-07-16 15:14:07
阅读次数:
229
该方法针对于win下Chrome任何版本(未测试基于Chrome内核的其他浏览器),Lunix就是目录换了一下目录是:**\Google\Chrome\User Data\Profile 2\User StyleSheets目录可能会变...但是最后肯定是StyleSheets.文件肯定是下面的这个...
分类:
其他好文 时间:
2014-07-16 15:13:10
阅读次数:
261
本文转自:http://jun1986.iteye.com/blog/1399242 感谢他的分享$.post、$.get是一些简单的方法,如果要处理复杂的逻辑,还是需要用到jQuery.ajax()一、$.ajax的一般格式$.ajax({ type: 'POST', url:url, data:...
分类:
Web程序 时间:
2014-07-16 15:04:48
阅读次数:
249
异步客户端存储示例:using System;using System.Net;using System.Net.Sockets;using System.Threading;using System.Text;// State object for receiving data from remo...
分类:
其他好文 时间:
2014-07-16 12:25:32
阅读次数:
375
CSS表单User Registration Form Personal Information Name: Email Address: Password: ...
分类:
Web程序 时间:
2014-07-16 12:18:01
阅读次数:
208