delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | mrfredbloggs AT altavista DOT co DOT uk (Fred Bloggs) |
Newsgroups: | comp.lang.c,comp.os.msdos.djgpp,comp.lang.c++ |
Subject: | Re: String substitution to another |
Date: | 3 Dec 2001 10:00:39 -0800 |
Organization: | http://groups.google.com/ |
Lines: | 19 |
Message-ID: | <fa2f473d.0112031000.efd6d3c@posting.google.com> |
References: | <3C0BEC9D DOT 4D74A6CA AT surfeu DOT fi> |
NNTP-Posting-Host: | 195.172.42.7 |
X-Trace: | posting.google.com 1007402440 14440 127.0.0.1 (3 Dec 2001 18:00:40 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | 3 Dec 2001 18:00:40 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Mr. Veli Suorsa" <veli DOT suorsa AT surfeu DOT fi> wrote in message news:<3C0BEC9D DOT 4D74A6CA AT surfeu DOT fi>... > Hi! > > I need some advices. > Please, show me, how I can read text file and substitute one string to > another (e.g. 'christmas card' -> 'money') and save file again to same > name. > > Here is an example C program to read text file lines, but what > substitute commands should I add to it? Or are there ready functions in > C++, too? You appear to have posted to both a group concerned solely with the Ansi C standard, and also an MSDOS related group, and also a C++ group. Surely this breaches the charter of at least this group, if not the others. Also, isnt December a little early to be giving up any intention of doing your own coursework?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |