I\'m having a brain fart at the moment and I am looking for a fast way to take an array and pass half of it to a function. If I had an array A of ten elements, in some langu
i also had the same use but instead i used vector and used the syntax
vector a(10); // for example to use by removing first element a = std::vector(a.begin() + 1, a.end()) //its ur turn to change the size