Jump to content
fancoelho

Erro em função

Recommended Posts

fancoelho

Boa noite..Gostava que alguem me dissesse s possivel onde esta o erro do seguinte codigo, pois nao consigo fazer com que a funcao devolva o que quero..

Agradecia se alguem se disponibilizasse..

Share this post


Link to post
Share on other sites
fancoelho

void Agencia::listarContas()const{

ColeccaoHibrida<Conta*>::const_iterator i;

for(i=contas.begin(); i!=contas.end(); i++)

(**i).print();

Share this post


Link to post
Share on other sites
xtrm0

Aparece-te algum erro ou warning, ou queres que a função devolva alguma coisa?.

Sê mais expecifico e dá um exemplo do que acontece e do que querias que acontecê-se.


<Signature goes here>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.