Search:

Type: Posts; User: username9000

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    2,591

    Re: Reading IEEE float values from files.

    Nvm I found the answer, DataInputStream lets you read all data types including unsigned values. Except I still don't know how to handle big-endian little-endianess.
  2. Replies
    3
    Views
    2,591

    Re: Reading IEEE float values from files.

    I tried this but it only seems to read the number as the ascii representation not the actual value, ie. it reads 0x3132 as 12 from the ascii character for 0x31 for 2 and the ascii character for 0x32...
  3. Replies
    3
    Views
    2,591

    Reading IEEE float values from files.

    FileInputSream, BufferedInputStream
    FileReader, BufferedReader

    These classes AFAIK only have read methods which return strings, char arrays or byte arrays, or single bytes. The problem is if I...
  4. Replies
    2
    Views
    1,774

    SUP JFP!!!

    Hi,
    I'll be doing individual java programing over the summer for my coop job and will probably looking around hear for help if I get stumped by something in java. I'll also look to see if there's...
  5. Replies
    4
    Views
    3,065

    [SOLVED] Re: Java Regular Expressions (regex) Greif

    Yeah, my input string was "Time IRIGB (s) Lat Ltn (deg) Lon Ltn (deg) Tas stbd (m/s) wind speed Hg (m/s) wind direction Hg (deg t)"

    and my program output was:
    Time IRIGB (s)
    Lat Ltn (deg)
    Lon...
  6. Replies
    4
    Views
    3,065

    [SOLVED] Re: Java Regular Expressions (regex) Greif

    I found the answer, this works:


    if(matcher.find()){
    System.out.println("found:");
    System.out.println(matcher.group());
    while(matcher.find()){...
  7. Replies
    4
    Views
    3,065

    [SOLVED] Java Regular Expressions (regex) Greif

    Hi, I'm trying to parse some text with java's regex and nothing seems to be working -_-;;;
    In this code all I am trying to do is parse a string for words and it doesn't work:
    Code:

    Pattern...
Results 1 to 7 of 8