C code to extract data from text file

Discussion in 'C' started by dedmoroz, Aug 10, 2007.

  1. dedmoroz

    dedmoroz New Member

    Joined:
    Aug 10, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello,
    I am at level 0 of knowledge about C language and I need to write some code. I am hoping that someone can at least point me into the wright direction.

    I need to be able to extract some data from a text file. It is basically two columns of numbers that I need to extract and create a text file with these two columns, comma delimited. There's a bunch of other information in the text file that I don't need.

    It's not something that can be easily done in excell, so I decided to see if I can make some code that will do this for me.

    Maybe C is not the best language to do this with? I don't know.

    I know that this is probably very easy to someone that knows how to program. I took a Java class couple of years ago, but have not written any code.

    any help apreciated.
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    It should be relatively simple. If you want help, post some code representing your attempt. If you want it done for you, post in the Jobs forum. Either way, post a small snippet from your text file.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice