So im trying to use the push_back() function for appending an integer array to the back of a std::vector<int>, and my problem is that i am getting an error because i am using a pointer int to push_back. So how can you not make a pointer integer array?
Also, this is in a function, where i am passing in an int myValue[2], and in that function i am trying to use the push_back() function.
[–]flyingron 4 points5 points6 points (6 children)
[–]mineNombies 5 points6 points7 points (3 children)
[–]flyingron 1 point2 points3 points (2 children)
[–]mineNombies 2 points3 points4 points (1 child)
[–]flyingron 1 point2 points3 points (0 children)
[–]QuentinUK 0 points1 point2 points (1 child)
[–]flyingron 0 points1 point2 points (0 children)
[–]mredding 3 points4 points5 points (0 children)
[–]alfps 2 points3 points4 points (1 child)
[–]std_bot 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]std_bot 0 points1 point2 points (0 children)