/srv/irclogs.ubuntu.com/2009/03/04/#ubuntu-java.txt

salaxhello there10:54
salaxcan anyone help me?10:54
salaxtrying to figure out reading a file from external .txt10:54
salaxthe file contains numbers10: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 console10: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
salaxthat is part of my codes10:56
salaxthe problem is, i'm reading a file in string, and i want to convert it into double10:56
salaxi'm stuck there10:57
ttxsalax: please see topic. This channel is about Ubuntu Java packaging matters... For Java coding questions please visit #java11:01
ttxyou'll find far more Java coders there.11:01
Blou_Aapand use pastebin11:45
Blou_Aap!!!11:45
psycho1help 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 up20:47
psycho1has 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!