Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

print vector

#include <vector> // vector 
#include <iostream> // cout 
using namespace std;

int main()
{
    vector<int> tmp = {1,2,3,4,5,6};
    for (auto i : tmp) {
        cout << i << ' ';
    }
}
 
PREVIOUS NEXT
Tagged: #print #vector
ADD COMMENT
Topic
Name
9+5 =