Thread
:
get length of a dynamic array
View Single Post
•
•
Join Date: Jun 2005
Posts: 2
Reputation:
Solved Threads: 0
Becuzz
Offline
Unverified User
Re: get length of a dynamic array
0
#
6
Jun 1st, 2005
The easiest way to get the length of a dynamic array is this
sizeof(array)/sizeof(arraytype)
where array is your dynamic array and arraytype is the data type (for instance int)
Hope this helps
Becuzz
View Public Profile
Find all posts by Becuzz