Hi Guys,
I think I put the question in the wrong format in the previous time .I am trying to eliminate certain elements off an array or vector in C without affecting other elements. Any idea of how this can be done neatly. For example:
Input Array : 8 7 6 5 **0** 9 **0** 8 7
Ouput Array: 8 7 6 5 9 8 7
Any idea how a C function can be written to execute such functionality. I am nit sure if C has STL erase( ) as in C++. Any idea of using erase and if so how would it work for the above example (no need to write full code just important bits).
Best regards,
Hefty