View Single Post
Join Date: Jun 2005
Posts: 2
Reputation: Becuzz is an unknown quantity at this point 
Solved Threads: 0
Becuzz's Avatar
Becuzz Becuzz is offline 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)
Reply With Quote