Valhalla Legends Forums Archive | C/C++ Programming | 'stdlib.h' gives me error c2061, "Syntax Error"

AuthorMessageTime
Dyndrilliac
[quote]c:\program files\microsoft visual studio 8\vc\include\stdlib.h(395) : error C2061: syntax error : identifier '_CountofType'[/quote][code]{
template <typename _CountofType, size_t _SizeOfArray>
char (*__countof_helper(UNALIGNED _CountofType (&_Array)[_SizeOfArray]))[_SizeOfArray];
#define _countof(_Array) sizeof(*__countof_helper(_Array))
}[/code]
February 28, 2006, 10:41 AM
Myndfyr
Cool.
February 28, 2006, 4:53 PM

Search