Go to this site and Find Enum:
The Really Big Index
Type: Posts; User: Norm
Go to this site and Find Enum:
The Really Big Index
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.
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...
I'm losing track of what your problem is.
Can you explain what you have now and what your problems are?
Does this compile? You can't use an method with an int variable.
The variable: app can only have two values because that is the size of the array that you posted earlier.
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
When you post code, wrap your code with
<YOUR CODE HERE>
to get highlighting
Can you show the code you are talking about? What is the "appearance integer array"?
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...