Code: Select all
string COMMA_LIST[6] = { "aaa", "b", "ctest", "d", "e", "fff" }; //as a test
NB_LIST_ITEMS = size_t _countof(COMMA_LIST);It is currently 29 Apr 2026, 04:50
Unread post by 23fx23 » 10 Nov 2015, 00:03
Code: Select all
string COMMA_LIST[6] = { "aaa", "b", "ctest", "d", "e", "fff" }; //as a test
NB_LIST_ITEMS = size_t _countof(COMMA_LIST);Unread post by senso » 17 Dec 2015, 20:28
Code: Select all
#define _countof( _obj_ ) ( sizeof(_obj_) / (sizeof( typeof( _obj_[0] ))) )
NSString *s[2]={@"1", @"2"} ;
NSInteger iCount = _countof( s ) ;Return to “Module development SDK”
Users browsing this forum: No registered users and 4 guests