how to make it working correct(libstdc++)?
TARZAN LION
tarzanboy@21cn.com
Mon Aug 12 00:49:00 GMT 2002
I download a gcc-3.1 tar file.
than I excute the following command:
tar zxvf gcc-3.1.tar.gz
cd gcc-3.1
./configure --prefix = /usr
--enable-threads=posix
--enable-shared
make bootstrap
make install
but some error message reported when I compiled some like sample.cpp file.
the sample.cpp file like following:
#include <iostream.h>
#include <string.h>
int main()
{
string str("hello world!");
cout<<str<<endl;
return 0;
}
my program have not any error,but some error report like following message:
"string" undeclared (first use this function)
I know some reason-->"the include file,something is wrong",but I don't know how to do.
what can I do for it? I don't know.
----------------------------------------------
̩̾ÃëÃÃÃÃ÷,ÃÃÃÃÃôó½±,ÿÃì÷½±°®Ã¢ÃÃ
T68Ãûú
http://sms.21cn.com/game_a04.jsp
ÃûúºÃ
Ãëü²·ÃãµÃ²ÃÃÃ,Ãâ·ÃÃÃÃÃ
http://sms.21cn.com/game_mc001.jsp
¶à ¿î»úÃÃüìÃÃ¥Ãù,ÃýÃìÃûú³±Ã÷
http://211.147.1.182/21CN/modules/pic/
Ã÷ÃÃÃÃäÃå°ü³ÃÃ
µ:°üÃðü»»°üÃúÃâ ºñÃñë°üÃôó½±
http://mail.21cn.com/5bao/5bao2.html
More information about the Libstdc++
mailing list