Help to write a C programm

This is a discussion on Help to write a C programm within the C Programming forums, part of the General Programming Boards category; Hi.I need to write a programm which 1.Read text from file. 2.Count from this text how many numbers there are ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    Help to write a C programm

    Hi.I need to write a programm which
    1.Read text from file.
    2.Count from this text how many numbers there are
    3.All even numbers change to higher odd numbers
    4.Result must be written to file and to screen.

    Please help

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,628
    Please read and follow the homework policy.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    41
    Quote Originally Posted by lustro View Post
    Hi.I need to write a programm
    So at least you know who is suppose to perform the action.


    Edit:
    So what exactly would you like help at?
    I recommend C how to program by Deitel & Deitel
    Last edited by strickyc; 05-10-2009 at 09:10 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 03-18-2006, 10:25 AM
  2. program to make a floppy write protected
    By shrijeetp in forum C Programming
    Replies: 1
    Last Post: 10-03-2005, 06:00 AM
  3. Reroute where programs write to
    By willc0de4food in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 04:48 PM
  4. Function to write string 3 times
    By Giggs in forum C++ Programming
    Replies: 15
    Last Post: 12-24-2002, 03:00 PM
  5. write in c
    By PutoAmo in forum C Programming
    Replies: 6
    Last Post: 04-03-2002, 06:53 PM

Tags for this Thread


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