How to use the array container of Clipper 11
This article introduces the knowledge of "how to use the array container of Clear11". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Built-in array
Array is one of the most commonly used data structures in C language, but it is troublesome to use. The first is that the size is not managed, and the second is that the out-of-boundary operation is not checked. There are some solutions to this, but it's not always perfect. For example, the following code:
Int ary [5]
Memset (ary, 0, sizeof (ary))
Unsigned int i = 0
While (I)