merging vectors

I am trying to merge two vectors and return a vector. if vector a is {1,4,9,16} and vector b is {9,7,4,9,11} and the merged vector is {1,9,4,7,9,4,16,9,11} here is my beginning code.

#include <iostream>
#include <math.h>
#include <string>
#include <vector> using namespace std; vector<int> merge(vector<int>, vector<int>); int main() { int num_one, num_two, exit = 0; vector<int> num_a; vector<int> num_b; wh

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment