🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #408

Help - Simple input/output

#408
From: frank
Date: Sat, 16 Sep 1995 22:13
27 lines
1016 bytes
Subject: Help - Simple input/output
Newsgroups: comp.os.msdos.programmer.turbovision
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
Summary: 
Keywords: 

Hi, C experts:

I am quite new to C programming.  I have a simple quenstion, hope you
can give me some help.

I have a input file which has a format like this:

XY100.00 1 101.00 2 102.00 3
XY103.00 4 104.00 5
XY105.00 6 106.00 7 108.00 8 109.00 9

.....

I try to read this file and write to an output file like this:

XY100 1 101 2 102 3 103 4 104 5 105 6 106 7 .....

Any help would be very appreciated.  Please email me the answer.
Thanks,

frank@netcom.com
Technical Details
Message-ID: <frankDF0r2w.wB@netcom.com>
Path: arc1-ca.pugleaf.net!netcom.com!frank

Show Full Headers
Complete Article Headers
Newsgroups: de.comp.lang.c++
Path: arc1-ca.pugleaf.net!netcom.com!frank
From: frank@netcom.com (frank)
Subject: Help - Simple input/output
Message-ID: <frankDF0r2w.wB@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Sat, 16 Sep 1995 22:13:44 GMT
Sender: frank@netcom.netcom.com