Posted: 10 Nov 2015, 00:03
Im using this bit of code to make a listbox.
it seems _countof is a VStudio or some specific compilers feature, any idea if would that still compile for mac without problems?
Code: Select all
string COMMA_LIST[6] = { "aaa", "b", "ctest", "d", "e", "fff" }; //as a test
NB_LIST_ITEMS = size_t _countof(COMMA_LIST);