Search Results

Showing results 1 to 1 of 1
Search took 0.01 seconds.
Search: Posts Made By: Becuzz ; Forum: C++ and child forums
Forum: C++ Jun 1st, 2005
Replies: 28
Views: 45,679
Posted By Becuzz
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...
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC