[ create a new paste ] login | about

Link: http://codepad.org/pbLLHWNZ    [ raw code | output | fork ]

C++, pasted on Oct 27:
1
2
3
4
5
6
7
8
9
10
# include <deque>
# include <algorithm>

int main() {
   std::deque<int> a3_deq(10);
   std::cout << "Сoдержимое " << std::endl;
   std::copy(a3_deq.begin(), a3_deq.end(), std::ostream_iterator<int>(std::cout, " "));

   return 0;
}


Output:
1
2
Сoдержимое 
0 0 0 0 0 0 0 0 0 0 


Create a new paste based on this one


Comments: