How to use the standard library functions begin and end of Clipper 11
This article mainly introduces "how to use begin and end". In daily operation, I believe many people have doubts about how to use begin and end. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about how to use begin and end. Next, please follow the editor to study!
The method of traversing array elements
Suppose you have an array:
Int a1 [] {1, 2, 3, 4, 5}
To iterate through all the elements of the array, you can do this:
For (unsigned int i = 0; I < sizeof (A1) / sizeof (A1 [0]); + + I) {
Cout