here is the error information using the linux gcc compilor.
In file included from /usr/include/c++/3.3.3/backward/iostream.h:31,
from test.cpp:4:
/usr/include/c++/3.3.3/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples
include substituting the <X> header for the <X.h> header for C++ includes, or <s
stream> instead of the deprecated header <strstream.h>. To disable this warning
use -Wno-deprecated.
/cygdrive/c/DOCUME~1/Owner/LOCALS~1/Temp/ccLpbKDg.o(.text+0x27):test.cpp: undefi
ned reference to `operator new(unsigned)'
/cygdrive/c/DOCUME~1/Owner/LOCALS~1/Temp/ccLpbKDg.o(.text+0x52):test.cpp: undefi
ned reference to `std::cout'
/cygdrive/c/DOCUME~1/Owner/LOCALS~1/Temp/ccLpbKDg.o(.text+0x57):test.cpp: undefi
ned reference to `std::basic_ostream<char, std::char_traits<char> >:
perator<<(
int)'
/cygdrive/c/DOCUME~1/Owner/LOCALS~1/Temp/ccLpbKDg.o(.text+0x83):test.cpp: undefi
ned reference to `std::ios_base::Init::Init[in-charge]()'
/cygdrive/c/DOCUME~1/Owner/LOCALS~1/Temp/ccLpbKDg.o(.text+0x9e):test.cpp: undefi
ned reference to `std::ios_base::Init::~Init [in-charge]()'
collect2: ld returned 1 exit status