Jump to content

Inserir Elemento Apos Outro


Recommended Posts

boas, tenho uma duvida que gostava de esclarecer, se alguem me poder ajudar agradeço, é o seguinte:

preciso que numa lista insira um elemento A apos outro elemento B com o cabeçalho void Lista<T>::insereapos(T*A, T*🙂;

esta funçao deve inserir o elemento A apos o elemento B , se B nao pertencer a lista deve inserir A no fim da lista.


Link to comment
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.