Posts by Dudu Lopes • 37 points
4 posts
-
1
votes1
answer778
viewsQ: C++ How to remove an element outside the ends of a list
I use the list library and am having trouble removing an element using remove(), or Erase(). With push_back() and push_front() it works, but I need to remove elements that are not at the ends.. I…
-
0
votes1
answer539
viewsQ: Class c++ has no Member named
I’m starting to develop a list list to represent a graph in memory. I’ve only done that first part and I’m getting the following mistake: class std::vector<No> has no member named 'getId'…
-
1
votes1
answer45
viewsQ: How to remove element from a list?
I have a list of objects from the No class, and would like to remove an object from that list, I use the library list. I know of the existence of pop_back() and pop_front(), but they delete exactly…
c++asked Dudu Lopes 37 -
1
votes1
answer167
viewsQ: list has not been declared
I’m doing the first part of a c++ work on codeblocks and Ubuntu and I’m getting the following errors: 1 - 'list' has not been declared 2 - no matching Function for call to 'No::verifieNo(int&,…