Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    19
    Views
    1,521

    Re: String Help Needed

    Go to this site and Find Enum:
    The Really Big Index
  2. Replies
    19
    Views
    1,521

    Re: String Help Needed

    You should also look at using an enumeration to define the directions, instead of using an int.
    That would keep the value of the direction variable in the fixed range that you need.
  3. Replies
    19
    Views
    1,521

    Re: String Help Needed

    Using arrays could help simplify the code.
    Its hard to figure out what the code is supposed to do.

    if (app == 1) {
    This test has an else with it implying that the value of app could be...
  4. Replies
    19
    Views
    1,521

    Re: String Help Needed

    I'm losing track of what your problem is.
    Can you explain what you have now and what your problems are?
  5. Replies
    19
    Views
    1,521

    Re: String Help Needed

    Does this compile? You can't use an method with an int variable.
  6. Replies
    19
    Views
    1,521

    Re: String Help Needed

    The variable: app can only have two values because that is the size of the array that you posted earlier.
  7. Replies
    19
    Views
    1,521

    Re: String Help Needed

    Can you explain what filenames you are trying to generate and how the contents of the array is to be used.
    The int array you posted has two values in it: 0 & 1
  8. Replies
    19
    Views
    1,521

    Re: String Help Needed

    When you post code, wrap your code with

    <YOUR CODE HERE>

    to get highlighting
  9. Replies
    19
    Views
    1,521

    Re: String Help Needed

    Can you show the code you are talking about? What is the "appearance integer array"?
  10. Replies
    19
    Views
    1,521

    Re: String Help Needed

    No. The name of the String variable is defined when you type it into the source file.

    You can build Strings that are filenames by concatenating Strings as you are currently doing.

    I'm not sure...
Results 1 to 10 of 10