[Dev-C++] Number of elements of a multidimensional
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Samuel K. <big...@ya...> - 2002-11-28 16:00:22
|
Isn't there a keyword sizeof in C/C++? It seems like I remember one but I've never had to use it. I think there is one and I think it returns the number of bytes in the array of objects. All you would have to do is divide by the number of bytes that is in just one object. I may be off on this. Like I said, I haven't really had to use this before. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |