www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/20/10:24:22

Date: Thu, 20 Mar 1997 18:10:03 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Keith Loiselle <ktlois00 AT pop DOT uky DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: C++ fstream with COM ports
In-Reply-To: <33300F91.227E@pop.uky.edu>
Message-ID: <Pine.SUN.3.91.970320180943.24420I-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019