C++相談室 part17
■ このスレッドは過去ログ倉庫に格納されています
0064デフォルトの名無しさん
NGNGifstream - 1052[ms]
cstdio - 991[ms]
std::ifstream fs;
for(int i= 0; i< 1000; i++) {
fs.open("test.txt", std::ios::in);
fs.read(ch1, 290);
fs.close();
}
FILE* f;
for(int j= 0; j< 1000; j++) {
f = fopen("test.txt","r");
fread(ch2, sizeof(char), 290, f);
fclose(f);
}
■ このスレッドは過去ログ倉庫に格納されています