Search:

Type: Posts; User: iamlost123

Search: Search took 0.28 seconds.

  1. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    i dont believe my scans are the issue im using different scanners for each type so i dont run into that issue its why i have scan1, scan2,scan3
  2. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    i tried that thats not the issue just makes my hit "a" twice then acts like i hit my spin option anyway
  3. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    this is all im getting as an error
  4. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    instead of going down the line after the if statement is parsed it kicks it out to the begining do statement
  5. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    it seems to be splitting the string and placing in array but after that it errors
    String.charAt(int) line: not available
    Roulette.main(String[]) line: 41
  6. Replies
    14
    Views
    1,294

    Re: Help with array nots being updated

    a
    If you bet a number leave a space between each number
    You got12
    Congratz you Won 132
    Sorry you lost 12
    You now have 488$
    Type: b to bet
    Type q to quit
  7. Replies
    14
    Views
    1,294

    Help with array nots being updated

    Two spots in my code not working as enteneded if anyone could help tell me were im going wrong would be grateful in one spot it seems to be skipping threw my if statement and the other is not...
  8. Donno why its not being checked against the array seem to skipp to the follow on if statement 's" of just spinning

    if (bet == 'a'|| bet == 's')

    {

    if (bet == 'a')
    {

    System.out.println("If you bet a number leave a space between...
  9. Replies
    6
    Views
    827

    Re: Can i get some help with an array code

    lol yeah but it will give me an idea of what to do right now im lost looking at array turtorials not helping much
  10. Replies
    6
    Views
    827

    Re: Can i get some help with an array code

    thats what i figured but i suck with arrays im trying some various ways but i keep screwing it up any possible examples?
  11. Replies
    6
    Views
    827

    Re: Can i get some help with an array code

    Enter Wheel Size/odds
    2
    Do you want to play?
    Type: b to bet
    Type q to quit
    b
    How much do you want to bet?(1-500)
    12
    You bet 12$
    What number do you want to bet on ?1-2
  12. Replies
    6
    Views
    827

    Can i get some help with an array code

    im new to java and i have trouble with array not sure if i need to make a new static class i believe i do but my code works exactly as i want it to but im missing 2 things a counter counting the...
  13. Replies
    5
    Views
    1,004

    [SOLVED] Re: Class issues not allowing me to compile

    bah i have given up and rewrote the code to simple if statements since the get commands are screwing with me but thanks
  14. Replies
    5
    Views
    1,004

    [SOLVED] Re: Class issues not allowing me to compile

    Exception in thread "main" java.lang.NoClassDefFoundError: FileNotFoundException
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)...
  15. Replies
    5
    Views
    1,004

    [SOLVED] Class issues not allowing me to compile

    I cant get my code to compile keeps having issues with the methods/classes...... im trying to build a roulette table

    A bet is: The Player picks a particular number and commits one to as many...
Results 1 to 15 of 15