Date: Thu, 20 Mar 1997 18:10:03 +0300 (IDT) From: Eli Zaretskii To: Keith Loiselle cc: djgpp AT delorie DOT com Subject: Re: C++ fstream with COM ports In-Reply-To: <33300F91.227E@pop.uky.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 19 Mar 1997, Keith Loiselle wrote: > Does anybody have sample code for using the fstream class with COM port > devices like modems, etc? FYI, you could use the DJGPP Filesystem Extensions mechanism to make the usual fstream class read/write the COM port automatically when the file is named e.g., "COM1". The Filesystem Extensions are documented in the DJGPP libc reference.