|
-
Feb 21st, 2001, 12:21 PM
#1
Thread Starter
Addicted Member
is there a ubound function in C++?
I came up with this, but it would only work with arrays with only one diminsional arrays. how would I find the upper bound of another dimnsion.
#define UBOUND(array) (sizeof(array)/sizeof(array[0]))
are there any other array functions in C++ that are good
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|