Re: Any way to take a word as input from stdin ?
- From: arnuld <sunrise@xxxxxxxxxxxxxxx>
- Date: Fri, 26 Sep 2008 17:50:38 +0500
On Fri, 26 Sep 2008 13:39:47 +0100, Ben Bacarisse wrote:
Then, as a learning exercise, I'd implement get_input (I'd probably
call it get_words but that is not important) and sort the array and
print it "outside" (probably in main). That gives you more learning!
well ,thats what I am doing. I don't see any difference in your idea. I
even have a function name i mind: printf_input(..) and also I will free()
in main() too, as input char* to get_input(...) is also created in main().
--
www.lispmachine.wordpress.com
my email is @ the above blog.
Gooogle Groups is Blocked. Reason: Excessive Spamming
.
- Follow-Ups:
- Re: Any way to take a word as input from stdin ?
- From: Ben Bacarisse
- Re: Any way to take a word as input from stdin ?
- References:
- Re: Any way to take a word as input from stdin ?
- From: Richard Heathfield
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Richard Heathfield
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Richard Heathfield
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Richard Heathfield
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Richard Heathfield
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Barry Schwarz
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Ben Bacarisse
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Ben Bacarisse
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Ben Bacarisse
- Re: Any way to take a word as input from stdin ?
- From: arnuld
- Re: Any way to take a word as input from stdin ?
- From: Ben Bacarisse
- Re: Any way to take a word as input from stdin ?
- Prev by Date: Re: Any way to take a word as input from stdin ?
- Next by Date: Re: Any way to take a word as input from stdin ?
- Previous by thread: Re: Any way to take a word as input from stdin ?
- Next by thread: Re: Any way to take a word as input from stdin ?
- Index(es):
Relevant Pages
|