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
#
8
Jun 1st, 2005
Ok so i mistyped. Just make it this and it will work (i think)
sizeof(*names)/sizeof(string)
Happy?
P.S. btw i know to pass the length of a dynamic array or to use vector but im just trying to solve this guy's problem. (so stop criticizing people)
Becuzz
View Public Profile
Find all posts by Becuzz