Language support for array types may include certain built-in array data types, some syntactic constructions (array type constructors) that the programmer may use to define such types and declare array variables, and special notation for indexing array elements.[1] For example, in the Pascal programming language, the declaration type MyTable = array [1..4,1..2] of integer, defines a new array data type called MyTable. The declaration var A: MyTable then defines a variable A of that type, which is an aggregate of eight elements, each being an integer variable identified by two indices. In the Pascal program, those elements are denoted A[1,1], A[1,2], A[2,1],… A[4,2].[2] Special array types are often defined by the language's standard libraries.
為何這集合為8個元素的集合,每個元素是由兩個索引標識的整數變量?^^謝謝~
1.mac想下載windows因為有個人想做的事 所以想問哪個比較方便?
2.希望資料結構想從資料結構的方向下去了解,市面上太多用程式去講資料結構的部分,因此若不是從程式去了解資料結構,就想請各位厲害的大大請教,讓小女子明白^^謝謝哦~
A1:可以用vagrant or kvm or parallels desktop or fusion ,這我都有用過,前面二個是免費的,後面二個是收費的,就看妳需求了。
A2: 單純個人認為是可以從妳拿手的程式語言去了解,興許會快一點吧(淺見。
type MyTable = array [1..4,1..2] of integer
這列指令就是 4x2 的整數陣列的宣告
沒有什麼為什麼
選我正解