43c Subj : I am using Borland C++4.52 and having a linking issus To : borland.public.cpp.borlandcpp From : James Kim Date : Tue Jul 29 2003 11:51 am I have a very simple C++ source file like the following: test.cpp ---------------------------------------------------------------- class test { public: test( ); void func1( ); }; test::test( ) { } void test::func1( ) { } ---------------------------------------------------------------- And, of course, I also have a startup code and a file with nothing but main function. Compiling works fine, but linking doesn't work with the following error: >>tlink /m /v /s startup.obj test.obj main.obj, main.exe, main.map >>Error: Undefined symbol operator new(unsigned int) in module TEST.CPP But interestingly if I comment out everything that has to do with the "test" constructor, linking works perfectly. Does anyone know what this is all about? If so, what should I do to make it work with the constructor uncommented? Help please! James . 0