salax | hello there | 10:54 |
---|---|---|
salax | can anyone help me? | 10:54 |
salax | trying to figure out reading a file from external .txt | 10:54 |
salax | the file contains numbers | 10:55 |
salax | try{ | 10:55 |
salax | 10:55 | |
salax | FileInputStream fstream = new FileInputStream("result1.txt"); | 10:55 |
salax | 10:55 | |
salax | DataInputStream din = new DataInputStream(fstream); | 10:55 |
salax | BufferedReader br2 = new BufferedReader(new InputStreamReader(din)); | 10:55 |
salax | String strLine; | 10:55 |
salax | 10:56 | |
salax | while (true) { | 10:56 |
salax | // Print the content on the console | 10:56 |
salax | // System.out.println (strLine); | 10:56 |
salax | 10:56 | |
salax | double theNumber = din.readDouble(); | 10:56 |
salax | System.out.println(theNumber); | 10:56 |
salax | that is part of my codes | 10:56 |
salax | the problem is, i'm reading a file in string, and i want to convert it into double | 10:56 |
salax | i'm stuck there | 10:57 |
ttx | salax: please see topic. This channel is about Ubuntu Java packaging matters... For Java coding questions please visit #java | 11:01 |
ttx | you'll find far more Java coders there. | 11:01 |
Blou_Aap | and use pastebin | 11:45 |
Blou_Aap | !!! | 11:45 |
psycho1 | help please? :(. I'm having trouble with Java + OpenGL. I'm using the wrapper library JOGL, but aftere I compile and execute a couple times, my graphics get all messed up | 20:47 |
psycho1 | has anyone here been successful using jogl + ubuntu? | 20:48 |
=== psycho1 is now known as yomama` |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!