Thread: Need the parser function for writing data from a structure to a text file.

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    1

    Need the parser function for writing data from a structure to a text file.

    Hello,
    My requirement is to write the data from a structure to a text file using some c parser function.
    Structure contains int,char,and structure.i mean structure inside structure.
    Could you please guide me to write the function or someone please provide the basic function for me.

    Thanks in advance.

    Regards
    Madhu

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Give it a good try Madhu, and when you get stuck (if you get stuck), post your code and any errors or warnings you have from the compiler.

    Please ask specific questions, if possible.

    The start of these assignments is almost always left entirely up to the student. Walking you through the entire thing would take way too much time, and you do need to practice solving these kinds of problems, to be any good at it. Right now, I have no idea what you are stuck on.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 05-25-2011, 05:54 PM
  2. Replies: 0
    Last Post: 11-23-2010, 01:36 AM
  3. Replies: 8
    Last Post: 05-05-2010, 02:43 PM
  4. Replies: 9
    Last Post: 05-21-2007, 12:10 AM
  5. Writing a structure to file?
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 12-01-2001, 01:43 AM