ugh more errors! Please help again! lol i have no clue where to even start with this one. I've never seen anything like it yet.
I took your advice and changed lots of naming schemes and such and got through the initial errors but new ones arose.
It seems to be caused by this piece of code:
1 2 3 4 5 6 7
|
for (int j= 0; j < 3; j++)
{
cout<<pop[j].getCity<<" , "<<pop[j].getState<<endl;
cout<<"Birthrate : "<<pop[j].getBirthrate<<endl;
cout<<"Deathrate : "<<pop[j].getDeathrate<<endl;
}
|
the errors are :
120 no match for 'operator<<' in 'std::cout << pop[j].Population::getCity'
121 ")) << pop[j].Population::getBirthrate'
122 ")) << pop[j].Population::getDeathrate'
Also, in between these 3 errors, i get a mass ammount of NOTES that look like: (and by mass, i mean mass, there are a lot of notes that look like this and i have no clue what it is)
note C:\Dev-Cpp\include\c++\3.4.2\bits\ostream.tcc:63 candidates are: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>&(*)(std::basic_ostream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>]
note C:\Dev-Cpp\include\c++\3.4.2\bits\ostream.tcc:63 std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char) [with _Traits = std::char_traits<char>]
thanks for any assistance!