31 #pragma package(smart_init)
37 std::ifstream fin(__source, std::ios::in | std::ios::binary);
38 std::ofstream fout(__destination, std::ios::out | std::ios::binary);
39 const int BUFFER_SIZE = 128;
40 char buffer[BUFFER_SIZE];
43 fin.read( buffer, BUFFER_SIZE);
50 fout.write(buffer, fin.gcount());
61 int sizeF = strlen( __filename );
62 for (
int i=sizeF; i>=0; i--)
63 if ( __filename[i] ==
'\\' || __filename[i] ==
'/' )
65 return __filename + pos;