What is a number of fields?
Many fields in computer programming is a data structure that contains additional fields in each index. This means that the data at each sequential address in the highest level field is actually the first element of each sub -field date. In return, each sub -field can also be a number of fields, allowing the field nesting so deeply as needed. Although this concept may seem complex, in fact, there is a very simple declaration and dereferential notation that allows a number of fields to express very clearly in the program. One of the most common applications for many fields is to store information in the grid pattern, as in the case of the figure. The date held in the field is called an element and each element occupies a position in a field known as an index. The start of the field is an index of zero, the other is an index of one, etc. Instead of holding the entire digit or characters, many fields contain additional complete fields in each index. These partial outlines in each index can also hold fields and provide the ability to create complex tree structuresy data as needed.
One common use for many fields is to store information that can be indexed from a grid with column and rows coordinates. This can be used to represent data on the table, two -dimensional (2D) image that appears on the screen, or even on the chessboard. The field fields are three levels, which means a field that holds a field that holds the third level of fields, can be used to represent cube information, or can be used to represent the matrix of information in which each place has more than one attribute. Generally, field fields that are deeper than three levels are used, as the same functionality is easier to implement a number of structures or classes.
programming notation for many fields is much easier to decipher than you could expect. Most programming languages use brackets to indicate the field index and multidimensive fields do not differ except that for index orDU is added another set of brackets. For example, a one -dimensional field could be written as "Field [2]" to mark the element in the position of the second field index. The field field can be written in a similar way - field [2] [1] - which indicates the date of the date in the first index of the second field.