summaryrefslogtreecommitdiff
path: root/3p41.cpp
blob: 4ae2247f11bf9903582cdbed142374873d25cfc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <iostream>
#include <vector>
#include "sales_data.hpp"
#include "sales_item.hpp"
#include <iterator>

/*
 *
 * 3.41
 *
 * Same thing as i did on my vec-arr-test.cpp 
 */

int main () {

	int arr[] = {23,432423,43253,123,787,45677,3345,657784,3453};
	std::vector<int> va(std::begin(arr), std::end(arr));
	for(auto vaa : va) {
		std::cout << vaa << " ";
	}

	std::cout << std::endl;
	return 0;
}