Questions tagged [bounds]

In user interfaces and graphics, bounds refer to the size and location of a window or view.

In user interfaces and graphics, bounds refers to the size and location of a window or view. In 2D graphics, this is broken down into four parts. Combinations often used include:

  • x-location, y-location, width, and height.
  • x-location, y-location, right, bottom.

Likewise, in 3D graphics, bounds are often broken into 6 components:

  • x, y, z, width, height, depth
769 questions
-3
votes
1 answer

I keep getting an index out of bounds error and dont know why

public bool Solve_Maze(int X_Pos, int Y_Pos) { bool Move = false; //Checking if the position isnt on the finish if (maze_board[X_Pos,Y_Pos] == 'e') { Move = true; …
-3
votes
2 answers

troubles with arrays, index out of bounds exception

So i've been at this problem for awhile, It's a piece of code that is suppose to display the data that has already been collected and sorted from the user. First ill post the code than ill post the error. import java.util.Scanner; import…
kyle
  • 9
  • 2
-3
votes
1 answer

Array Out Of Bounds Exception Cannot find

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 110 at HeapPriorityQueue.hasLeft(HeapPriorityQueue.java:168) at HeapPriorityQueue.bubbleDown(HeapPriorityQueue.java:111) at…
Athind
  • 1
-7
votes
1 answer

How to increase limit of array in C?

// C Program to find average of numbers given by user #include #include #include void main() { double sum = 0; int ii = 0, c; char buf[256], *token; printf ("Enter the numbers to average on a…
user2583127
  • 51
  • 1
  • 5
1 2 3
51
52