I download the Bloodshed compiler (Dev-C++ 4.9.5.0), and it didn't come with apstring.h. I went and found it on the net, and downloaded the file into my include directory. For some reason, I get the following errors:
Line 9: initializing non-const 'bool $' with 'ostream &(*)(ostream &)' will use a temporary
line 217(this is in my iostream.h file): in passing argument 1 of 'istream::operator >>(bool &)'
here is my code:
Is there something up with my apstring.h? Or something in my code? Help is greatly appreciated.Code:#include<iostream.h> #include<apstring.h> main() { apstring word; cout<<"Input word."<<endl; cin>>word>>endl; cout<<word<<endl; }
NOTE: This is just the code to get my damn apstring.h to work.