Results 1 to 2 of 2

Thread: Read files with strings and doubles

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Thanks
    1

    Default Read files with strings and doubles

    Hi everyone,
    I want to open ASCII files in qt3 and display and do some computation with the numbers, but it happens that some files contain some text and I could not find a way to avoid reading these characters. How can I ask my code to read doubles only, as it always crashes once the characters are passed to my functions.
    Thanks for any help
    Last edited by thebra; 18th January 2007 at 20:39. Reason: spelling error

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.