01 2012 档案

摘要:#include <stdio.h>#include <time.h>#include <iostream>using namespace std;int main(void){time_t timep;struct tm *p;time(&timep);printf("time() : %d \n",timep);p=localtime(&timep);timep = mktime(p);printf("time()->localtime()->mktime():%d\n",timep); 阅读全文
posted @ 2012-01-04 19:49 byfei 阅读(185) 评论(0) 推荐(0) 编辑
摘要:int test=2147483647; 阅读全文
posted @ 2012-01-04 17:06 byfei 阅读(246) 评论(1) 推荐(0) 编辑
摘要:#include <stdio.h>#include <stdlib.h>#include <iostream>#include <set>#define MAXSIZE 100000using namespace std;set<int> OldRole12_31;set<int> OldRole1_1;set<int> OldRole1_2;void main(){FILE *fp12_31; FILE *fp1_1;FILE *fp1_2;if ( (fp12_31 = fopen( "d:\\ 阅读全文
posted @ 2012-01-03 20:33 byfei 阅读(121) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h>#include <stdlib.h>#define MAXSIZE 100void main(){ FILE *fp; if ( (fp = fopen( "d:\\OldRoleID.txt", "r" )) == NULL )printf("ERROR!\n"); int tmp[MAXSIZE]; int i; for ( i=0; i<MAXSIZE; i++ ) { tmp[i] = 0; } char chtmp[10000]; i=0; while ( 阅读全文
posted @ 2012-01-03 18:34 byfei 阅读(165) 评论(0) 推荐(0) 编辑
摘要:USE aidigame_data63;select * from role_data where role_name LIKE "%查询我"; 阅读全文
posted @ 2012-01-02 21:57 byfei 阅读(129) 评论(0) 推荐(0) 编辑