This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0 "cin" problem
- To: gcc-help at gcc dot gnu dot org
- Subject: gcc 3.0 "cin" problem
- From: "Dan,Ho-Jin" <hjdan at kaist dot ac dot kr>
- Date: Thu, 15 Mar 2001 13:25:43 +0900
hi there,
Due to missing features of std, I upgraded gcc 2.95.2 to gcc 3.0 (cvs
2001/03/14)
I have a problem of input streams, especially "cin".
my code is something like the followings,
<iostream>
using namespace std;
main()
{
char str[20];
cin >> str;
cout << str << endl;
}
the above code was well compiled under i686-pc-linux and FreeBSD.
but it didn't work in both machines.
it is a bug? or that kind of stream was removed in std:: ???