Hi,
On Thu, 16 Dec 2004, Nilesh Khemker wrote:
> Hello Guys,
> Can anyone tell me HOW TO FIND OUT THE NUMBER OF
> WORDS IN SIMPLE TEXT FILE USING C COMMAND LINE PROGRAMME.
> We have to consider all aspects ( space , comma, coloun )
> and check all
> coditions for words in text file.
>
> Regards,
> Neel.
>
>
I suppose shell commands can be used within C. There is a shell command wc
which gives # of lines, words and characters in a file. You can use that,
unless you have an assignment to write a C code to do that. For details do
man wc
Phatak
>
> ---------------------------------
> Do you Yahoo!?
> Jazz up your holiday email with celebrity designs. Learn more.
--
-------------------------------------------------------------------------------
S. C. Phatak
Sachivalaya Marg ph.(O) (0674) 2301 771 Ex. 210
Institute of Physics ph.(H) (0674) 2301 444
Bhubaneswar 751 005 email- [EMAIL PROTECTED]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
To unsubscribe : [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4582
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/