Text analysis problems - need help!

This is a discussion on Text analysis problems - need help! within the C Programming forums, part of the General Programming Boards category; Can anyone help with the following problems? 1.a) Write a C program that reads text from an input file, converts ...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    13

    Text analysis problems - need help!

    Can anyone help with the following problems?

    1.a) Write a C program that reads text from an input file, converts any upper case letters to lower case, and writes the resulting text to an output file.

    1.b) Write a C program that reads text from an input file, copies all lower case letters and white space characters to an output text file, and discard any other characters.

    1.c) Write a program that reads a file of words (assumed to be in lower case letters) and prints out the total number of words in the file.

    If anyone can help I will be really grateful!

    Thank you,

    Chris Harrison

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    What have you done so far?
    All spelling mistakes, syntatical errors and stupid comments are intentional.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with formatting text.
    By vrek in forum Windows Programming
    Replies: 1
    Last Post: 04-10-2007, 11:44 PM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. problems reading in from text
    By requiem in forum C++ Programming
    Replies: 5
    Last Post: 04-25-2003, 12:13 AM
  4. problems reading from a text file
    By korbitz in forum C Programming
    Replies: 4
    Last Post: 12-21-2001, 05:11 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21