Article View: att.lang.c++
Article #162delete code
From: shack
Date: Fri, 26 Feb 1999 00:00
Date: Fri, 26 Feb 1999 00:00
6 lines
841 bytes
841 bytes
Can someone tell me the c++ code to do the following: I want to search a string for the first occurrence of a word and delete it, then output the remaining part. I want to perform the action in a void function, reading a string in the main() part. Thanks a bunch! Please reply to bshack@wvwise.org
Technical Details
Message-ID:
<ZsFB2.18367$yv3.10222@news2.giganews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,1c4d981407452c95,start X-Google-Attributes: gid10d4ba,public From: someone@somewhere.net (shack) Subject: delete code Date: 1999/02/26 Message-ID: <ZsFB2.18367$yv3.10222@news2.giganews.com> X-Deja-AN: 448998306 Content-Type: Text/Plain; charset=US-ASCII X-Trace: news2.giganews.com 920069049 209.190.163.147 (Fri, 26 Feb 1999 16:44:09 CDT) Organization: Internet MIME-Version: 1.0 NNTP-Posting-Date: Fri, 26 Feb 1999 16:44:09 CDT Newsgroups: att.lang.c++