how to access a C structure members from outside the source code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pallavid
    New Member
    • Jan 2007
    • 1

    how to access a C structure members from outside the source code

    I have one function that accesses one of the structure member .Now I want to access this member from outside my source code ,that is if I modify the initialised structure member elements my source code wont require any further compilation for this?
  • jayfriend
    New Member
    • Dec 2006
    • 8

    #2
    Originally posted by pallavid
    I have one function that accesses one of the structure member .Now I want to access this member from outside my source code ,that is if I modify the initialised structure member elements my source code wont require any further compilation for this?

    Hi pallavid ,

    Use dynamic linking.

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      Store the initialisation values in a file and read it when the program runs.

      Comment

      • jayfriend
        New Member
        • Dec 2006
        • 8

        #4
        Banfa ,

        Its a simpler solution, Good idea.

        Thanks

        Comment

        Working...