new operator is giving me trouble

What version of the IDE are you using. Not all versions support new. What is in the new.h file you are including. The versions of the IDE that support new do not use an include file specifically to do so.