www.pudn.com > SmartFDISK.zip > ifpstrea.cc
/* * Turbo Vision - Version 2.0 * * Copyright (c) 1994 by Borland International * All Rights Reserved. * Modified by Robert H”hne to be used for RHIDE. * * */ #define Uses_fpbase #define Uses_ifpstream #includeifpstream::ifpstream() { } ifpstream::ifpstream( const char* name, int omode, int prot ) : fpbase( name, omode | ios::in | ios::bin, prot ) { } ifpstream::ifpstream( int f ) : fpbase( f ) { } ifpstream::ifpstream(int f, char* b, int len) : fpbase(f, b, len) { } ifpstream::~ifpstream() { } filebuf *ifpstream::rdbuf() { return fpbase::rdbuf(); } void ifpstream::open( const char *name, int omode, int prot ) { fpbase::open( name, omode | ios::in | ios::bin, prot ); }