Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- void printall(std::vector<int> values) {
- for(int n=0; n!= values.size(); n++) {
- std::cout << values.at(n) << std::endl;
- }
- return;
- }
- int main() {
- printall( {5, 10, 14, 16, 17} );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement