Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Method and syntax

Options
  • 28-02-2003 2:04pm
    #1
    Registered Users Posts: 950 ✭✭✭


    Hello all

    struct person{
    String name;
    String code;
    Int age;
    {

    person jim;

    i need to know how to read and write the above struct to a file.
    standared C function will do.

    i was trying to use the fprintf and fscanf functions
    but could not get them to work

    Am i on the right track using these functions.


Comments

Advertisement