Dear friends,
I was compiling a program and it continues giving me
this type of error.... what is going on ?
! dist.cpp: In function `int main(int, char **)':
! dist.cpp:45: call of overloaded `get(int &)' is ambiguous
! C:\Program Files\GNUCPP\bin\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..
* \include\g++-3\iostream.h:127: candidates are: class istream & istream::get(
* har &) <near match>
.
.
.
.
C:\Program Files\GNUCPP\bin\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..
* \include\g++-3\iostream.h:144: class istream & istream::get(
* treambuf &, char = '\n') <near match>
! make: *** [dist.o] Error 1
can anyone tell me what is going wrong I even put so many header files just to figure out what is going on......I am lost so please help!!!!!!!!!!!!!