I*******e 发帖数: 1879 | 1 ☆─────────────────────────────────────☆
blueivan (bl.ue) 于 (Tue Feb 24 13:29:02 2009) 提到:
I found C++ io is difficult to use especially for binary files. Once I conve
rted some C code to C++, especially char * to string, it is running 10 times
slower than before.Every time I try to read/write a int or float in binary,
I have to use reinterpret_cast..It is such a mess. How do you people deal w
ith it?
☆─────────────────────────────────────☆
FIRE1988 (Fire1988) 于 (Fri Feb 27 16:58:08 2009 |
|