
16 Feb
2007
16 Feb
'07
1:45 p.m.
Hi Oliver, On Fri, 16 Feb 2007 08:45:28 +0100, Oliver.Kowalke@qimonda.com said:
Hello,
1). Added #include<stdlib.h> in all above cpp files 2). Added #include<signal.h> in
A good C++ practice is to include <cstdlib> and <csignal> instead of plain C-headers.
These are already included. From the error it seems that including <cstdlib> or <csignal> with Sun C++ will only cause the functions that are part of standard C++ to be defined, and not the POSIX functions. The headers <stdlib.h> or <signal.h> are required to get the POSIX functions as well. Cheers, Chris