   error
  When I run the following line of code:char *pMem = new char[ m_MaxElements * sizeof FSA_ELEMENT ];I get the error - parse error before ';' token.does anyone know what the problem is? Thanks.   
  Missing () on sizeof?sizeof(FSA_ELEMENT);  trysizeof( FSA_ELEMENT );  sizeof(...) needs brackets.   ;  Thanks guys, your great!   ;  Looks like the kind of situation where a std::vector may be safer (deallocation on all execution paths), easier (management of size/capacity) and potentially more space efficient.  Of course, there may be reasons why you're not using one, but it doesn't hurt to mention it.Enigma   ;  BTW, parentheses are needed only if FSA_ELEMENT is a type. This works:int x;    size_t y = sizeof x; Despite that, I always use parentheses just to avoid confusion.   