Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Look at the tutorial on how to define and use methods:
    Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
    Passing Information to a Method or a Constructor...
  2. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Is that a method definition or a call to a method?
    You don't code the variable type in a method call:
    markTheBoard(m, pos);


    That error usually happens when the definition for the previous...
  3. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    If that is the command prompt console on windows:
    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show...
  4. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Where are the error messages displayed? If in an IDE there is usually a "COPY" option for the window.

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get...
  5. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    That's a nice summary of the errors. If you want any help fixing them you will need to post the full text of the error messages.
    Please copy full text of the compiler's error message and paste it...
  6. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    Makes for ugly, repetitive code. Arrays and loops make for shorter less error prone code. What is your instructor trying to teach with this assignment?


    Please copy the full text of the error...
  7. Re: Can anyone help me construct a Java program that plays TicTacToe without using Arrays?

    That sounds like a step towards using assembly language instead of java. WHY?
Results 1 to 7 of 7