delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/28/13:15:13

From: "J. L." <jose DOT sanchezga AT imss DOT gob DOT mx>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Program in C problem
Date: Thu, 28 Nov 2002 12:04:52 -0600
Lines: 14
Message-ID: <40jcuuc51brdt5hv6j5mbsiu53sno7u5qr@4ax.com>
References: <3de401c0$0$193$ba620e4c AT news DOT skynet DOT be>
NNTP-Posting-Host: 200.34.143.17
Mime-Version: 1.0
X-Trace: fu-berlin.de 1038506694 25503694 200.34.143.17 (16 [143309])
X-Newsreader: Forte Agent 1.92/32.572 trialware
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 27 Nov 2002 00:17:41 +0100, "Juri Quintyn" <jurimax AT skynet DOT be>
wrote:

>I need a program that asks a random text from the keyboard, then asks for a
>random letter and then shows all the words starting with that letter. Can
>anybody give me a hint to write the function to extract the different
>strings from the text? Or more help?
>

You can use strtok for this.

>thnx in advance
>

- Raw text -


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