 |
c++ - How to know the size of a const array? - Stack Overflow
2012年11月14日 - You can use int size = sizeof(codesArr) / sizeof(myStr); as long as you don't pass it as parameter to a function, because then the array will decay into a ...
stackoverflow.com |
 |