摘要: #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 阅读(118) 评论(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) 编辑