View Full Version : array manipulation in C++

09-17-2007, 09:19 PM
Hey there,

I'm coding in C/C++ and I want an array I can manipulate easily. I know in Java we have ArrayList, do we have an equivalent in C/C++? I know we have the std::vector but if i want to be able to remove by search and not indexes.. what's my best bet?

09-17-2007, 09:28 PM
Nevermind, I think std:list will do the trick.. my problem is that i get this:
"list: No such file or directory" at:
#include <list>

why? and if it's the compiler there's nothing I can do about it... any other ideas?

09-18-2007, 04:47 AM
Maybe give Vectors a try. http://www.cppreference.com/cppvector/index.html
What exactly are you trying to do?

09-19-2007, 07:53 PM
nevermind i've solved it.