Search:

Type: Posts; User: Kelly

Search: Search took 0.01 seconds.

  1. Thread: fscanf and files

    by Kelly
    Replies
    3
    Views
    837

    assuming filenname is an input stream, it will...

    assuming filenname is an input stream, it will read an integer value from it and store it in the n variable
  2. have just pm'd you bigtamscot. Email me directly...

    have just pm'd you bigtamscot. Email me directly if you can help at all to the email address in the message

    THANK YOU!
  3. well I've tried conversion as well now, and that...

    well I've tried conversion as well now, and that still doesnt work. Perhaps I can better illustrate this way. :mad:

    Here is the first 5 float values, and the increasing total balance as they...
  4. Thanks It turned out that actually that hadnt...

    Thanks

    It turned out that actually that hadnt sorted out the problem!

    so im back to square one!

    Basically for the first record it is reading in -2407.629,
    I want to STORE the value as...
  5. no, it wasnt the output that was the problem, it...

    no, it wasnt the output that was the problem, it was when the data was read from the binary file into the float variable.

    Thanks to everyone, I seem to have (fingers crossed) sorted it by...
  6. Altering decimal places of float values read from Binary file

    I am reading a binary file containing records of information. Part of the record is a Account Balance which is a float value. It is already stored with the default 6 decimal places.

    Does anyone...
Results 1 to 6 of 6