Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Schonge

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,740

    Re: Java code understanding help

    Hi lockmantican,



    private static final double x = 3;


    What you are trying to do here doesn't make sense. When you declare a variable in a method it is a local variable and is only...
  2. Replies
    2
    Views
    1,657

    Re: Complete idiot needs Help.

    Hi stebanks,

    Firstly, yes you are correct you're in the wrong forum for this type of question! You should look for a web development forum this is a Java one.

    Secondly seen as you're here now...
  3. Reading a File into a 2D Array - Getting ArrayIndexOutOfBoundsException()

    Hi I've been doing Project Euler problems lately but I'm having trouble with Problem 18, here it is:

    By starting at the top of the triangle below and moving to adjacent numbers on the row below,...
  4. Replies
    1
    Views
    2,115

    Counting Occurrences of Numbers

    Having a problem trying to count the occurrences of numbers in an array!

    The program is supposed to read integers between 1 and 100 and counts the occurrences of each.
    The input ends with the...
  5. Replies
    2
    Views
    617

    Re: Subtraction Quiz Program

    Ahh cheers thank you! I hate when the problem is as trivial as that! It makes the thread very pointless!

    Thanks again!
  6. Replies
    2
    Views
    462

    Re: Constructor not being called

    If I'm not mistaken you're probably getting a NullPointerException?

    You've shown that Num holds an array of Num objects but you haven't assigned a Num object to the array
    Try

    Num [] x = new...
  7. Replies
    2
    Views
    617

    Subtraction Quiz Program

    Having a problem with my Subtraction Quiz program on a specific line!

    output += "\n" + number1 "-" + number2 + "=" + answer + ((number1 - number2 == answer) ? " correct" : " wrong") ;

    The rest...
  8. Replies
    2
    Views
    1,562

    Re: Battleship Game Engine

    Cheers!
    Was going in the direction of converting the separate elements but realized the letters wouldn't give me the correct value forgot about subtracting 'A'.
  9. Replies
    2
    Views
    1,562

    Battleship Game Engine

    I'm doing a project designing a game engine for a simple battleship game and I'm stuck on the method called incoming to record the opponents shot at a players fleet I was wondering if someone could...
  10. Re: Problem: Calling a method appears to increase arguments passed into the console

    ya just realised it there myself just use the same variable name in each e.g array1[i] == array2[i] if i'm not mistaken

    Thanks again
  11. Re: Problem: Calling a method appears to increase arguments passed into the console

    Thanks! :)

    I was wondering also with regards to nested For loops! Do the inner for loops get iterated fully before the outer loop iterates?

    Therefore if I was to compare 2 arrays - The first...
  12. Problem: Calling a method appears to increase arguments passed into the console

    Hi all,

    In my project im generating a bit string and using a console to enter the arguments like population size generation, reproduction rate, crossover rate, mutation rate, output file. In all 6...
  13. Re: I would like to know which is the good book for java programmer certification

    Maybe this isn't what you were looking for but, we use this book at the university I go to - Introduction to Java Programming (comprehensive version), by Y. Daniel Liang.

    Hope this helps if not...
  14. Replies
    2
    Views
    637

    Re: Generic Algorithm Project

    Absolute hero!! thanks a mill! :D
  15. Replies
    2
    Views
    637

    Generic Algorithm Project

    Hi I'm currently doing a project for one of my AI course module in university and I'm stuck on a bit of it! Obviously I don't expect anyone to do project for me but any help would be greatly...
  16. Replies
    2
    Views
    3,003

    Re: Simple Lottery Program

    Cheers thanks alot!

    I completely agree with your array and loop logic but have a valid reason for not using it a the moment!

    Haven't been doing well in my programming exams therefore have been...
  17. Replies
    2
    Views
    3,003

    Simple Lottery Program

    Hi I'm having a problem with my simple lottery game!

    Not sure where the problem is exactly but it has something to do with getting only one digit to match!

    Example: Lottery Number was 726
    ...
  18. Replies
    2
    Views
    630

    Re: Help with java exercise!

    Cheers thanks for that I can see the problem now! :)
  19. Replies
    2
    Views
    630

    Help with java exercise!

    Hi I was wondering if someone could help me with a java problem i have being doing i have the programming almost nailed down but im not getting the expected output

    The question asks you to design...
Results 1 to 19 of 19


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center