Results 1 to 3 of 3

Thread: [2005] help with writing to a file

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    [2005] help with writing to a file

    hi,

    i would like to write the following into a file call shareprice.txt but i keep on getting 0 0 0 0 0 0 0

    For 10 types of shares for a period from 1 to 365 should become available in a file called shareprice.txt

    it should look like this in the file:

    1 2.30 3.30 2.40.....etc up to 10
    2
    3
    4
    5
    6
    7
    .
    .
    .
    etc up to 365

    thanks all

  2. #2

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    Re: [2005] help with writing to a file

    i forgot to say that the 10 types of share should generate random numbers from 50 to 150.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] help with writing to a file

    Show your code. Without seeing your code, we cannot figure out what you're doing wrong in your code. Had we been psychic, we could have guessed what your code looks like, but unfortunately most of us on this forum are not psychic.

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