Search:

Type: Posts; User: leonne

Page 1 of 2 1 2

Search: Search took 0.16 seconds.

  1. Re: how can I store text information on a specific line

    ok thank you, ill try it out
  2. Re: how can I store text information on a specific line

    Hey,
    Not really sure what you mean by boundary, but here is how the text file looks like. Has random length of white space between like this.
    5412 1478ddp284 FAKE STREET MAT...
  3. Re: how can I store text information on a specific line

    My mistake, I mean read over to column 5 then read and copy from column 5 to column 9. This old program would copy every new set of number, it would know its a new data point by the space between...
  4. how can I store text information on a specific line

    Hey,
    I am trying to make a program that would first read a text file or a excel file and store two types of data, a line start and a line width. I than want the program to scan a new text file and...
  5. Re: how can I get my program to enter data on a website?

    ok thanks ill do that
  6. Re: how can I get my program to enter data on a website?

    yes basically that, but seems like would take to much time. I might just do an easier way, like have the user select what he has from a list and show a recipe that i coded into the program. The group...
  7. how can I get my program to enter data on a website?

    Hey guys,
    I am making like a app for class as extra credit. Its like a recipe app where the user types in what ingredients they have and then the app will return a list of recipes that you can make....
  8. Replies
    2
    Views
    266

    Re: comment my program! + some questions

    o ok thank, yeah I followed your pseudo code, but I see now. the sum gets stored I was thinking after it finished doing the calculation, it goes back to 0.
  9. Replies
    2
    Views
    266

    comment my program! + some questions

    Hey, Just finished my program that takes data from a radio telescope and graphs it.
    I got some questions about my data class. For some reason it wont calculate the correct average, its very close...
  10. [SOLVED] Re: Question about reading numbers from external file

    thanks for the info, yeah was thinking using a calculator but didnt feel like typing 49 numbers lol but ill try it.
    Edit, I just created a smaller file with the last line and I get the same avg as...
  11. [SOLVED] Re: Question about reading numbers from external file

    o ok thanks ill fix it
    ok found out why the average was wrong, used data[i] instead of data[ii]

    UPDATE: Still not getting correct average, but should be. I made a smaller files like you said with...
  12. [SOLVED] Re: Question about reading numbers from external file

    hey thank for the help, no the loop is not required there. I just did it that way.
    edit, O i know why I did it that way. I notice that after the for loop goes past to 48 it resets and starts from 0...
  13. [SOLVED] Re: Question about reading numbers from external file

    ok thanks for the info, I posted the input file in my first post. It's the data.txt
  14. [SOLVED] Re: Question about reading numbers from external file

    now, the output shows a different number, but still not the first one. Also the average is not what it should be for the last set of data. I am pretty sure I did the average correct. The average is...
  15. [SOLVED] Re: Question about reading numbers from external file

    yes in the text file the first number is 1698.8. 1620.5 is located near the end and theirs no pattern that I see cause the number afters 1620.5 is what is in the data file. just seems like it skips...
  16. [SOLVED] Re: Question about reading numbers from external file

    The first number that is printed out is 1620.5, but it should be 1698.8 when it was string it did. Also when I had it as string it took way longer for the program to finish so I'm guess a good chunk...
  17. [SOLVED] Question about reading numbers from external file

    Hey,
    I am making a program that reads data from a radio telescope and then sums the data then plots it.
    I am having some problems about reading the data and have some questions.

    I at first had...
  18. [SOLVED] Re: trying to use hashtable in tic tac toe game

    O ill try the other way out too, could not think of how to check who won and I remembered using hashtables in class to store stuff so I figured ill use that.
    thanks
  19. [SOLVED] Re: trying to use hashtable in tic tac toe game

    Hey, yea I think I have. What I did now was to change player1.put(btn[xxx], btn[xxx]); to player1.put(xxx, xxx); and seems to work. The message pops up when circle has selects the top 3 buttons...
  20. [SOLVED] Re: trying to use hashtable in tic tac toe game

    o ok thank for the info, o , I don't think p1 is used, originally the code was something else and I just changed it.
    Also while loops seems fine lets me select the 9 button and wont let me pick the...
  21. [SOLVED] trying to use hashtable in tic tac toe game

    Hey, I'm trying to use a hashtable to determine which player has won, but seems like its not working.
    My guess is that im using "player1.containsKey(1)" incorrectly. I figured that each button is...
  22. Replies
    5
    Views
    761

    Re: question about debug mode

    o ok thanks for the info.
  23. Replies
    5
    Views
    761

    Re: question about debug mode

    o thanks, I'm using eclipse
  24. Replies
    5
    Views
    761

    question about debug mode

    I find the debug mode very helpfully, but sometimes it does not work I notice. I am making like a tic tac toe game and I notice that it just crashes in debug or something. I am wondering why this...
  25. Replies
    2
    Views
    365

    Re: Problem with setIcon or something(JButton)

    o ok ill do that, yeah I first had it in an array but kept getting compile errors, but ill try it again.
    thxs for the tip
Results 1 to 25 of 44
Page 1 of 2 1 2