Results 1 to 2 of 2

Thread: reading data from files...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    Guess....i have wooden shoes, in my free time i sell tulips and I live in a huge windmill...
    Posts
    176

    reading data from files...

    I'm making a program for school, to learn french/german/whateverstupidlanguage words. It reads from a RTF file. What's the best way to store the data so i can easily read the files and get the words+translation?

    I DO know how to open and save files!

    Thnx

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    possibly an xml file that look something like this


    Code:
    <Trans>
       <Word English="Hello" French="Bon Jour" German="I forget!!"/>
       <Word English="No" French="Non" German=Nein"/>
    
    </Trans>
    and so on like that

    you can then search for a specific attribute depending on what language and get the translations for the other languages
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width