• Home
  • Raw
  • Download

Lines Matching refs:cout

14 using std::cout;
29 cout << "Priority Queue: popped elements" << endl; in basic_interface()
30 cout << pq.top() << " "; // 3 in basic_interface()
32 cout << pq.top() << " "; // 2 in basic_interface()
34 cout << pq.top() << " "; // 1 in basic_interface()
36 cout << endl; in basic_interface()
54 cout << "Priority Queue: iteration" << endl; in iterator_interface()
56 cout << *it << " "; // 1, 2, 3 in unspecified order in iterator_interface()
57 cout << endl; in iterator_interface()
75 cout << "Priority Queue: ordered iteration" << endl; in ordered_iterator_interface()
77 cout << *it << " "; // 3, 2, 1 (i.e. 1, 2, 3 in heap order) in ordered_iterator_interface()
78 cout << endl; in ordered_iterator_interface()
102 cout << "Priority Queue: merge" << endl; in merge_interface()
103 cout << "first queue: "; in merge_interface()
105 cout << pq.top() << " "; // 5 4 3 2 1 0 in merge_interface()
108 cout << endl; in merge_interface()
110 cout << "second queue: "; in merge_interface()
112 cout << pq2.top() << " "; // 4 2 0 in merge_interface()
115 cout << endl; in merge_interface()
138 cout << "Priority Queue: merge" << endl; in heap_merge_algorithm()
139 cout << "first queue: "; in heap_merge_algorithm()
141 cout << pq.top() << " "; // 5 4 3 2 1 0 in heap_merge_algorithm()
144 cout << endl; in heap_merge_algorithm()
146 cout << "second queue: "; in heap_merge_algorithm()
148 cout << pq2.top() << " "; // 4 2 0 in heap_merge_algorithm()
151 cout << endl; in heap_merge_algorithm()
171 cout << "Priority Queue: update" << endl; in mutable_interface()
173 cout << pq.top() << " "; // 7, 4, 0 in mutable_interface()
176 cout << endl; in mutable_interface()
201 cout << "Priority Queue: update with fixup" << endl; in mutable_fixup_interface()
203 cout << pq.top() << " "; // 7, 4, 0 in mutable_fixup_interface()
206 cout << endl; in mutable_fixup_interface()
241 cout << std::setw(2); in main()
244 cout << endl; in main()
247 cout << endl; in main()
250 cout << endl; in main()
253 cout << endl; in main()
256 cout << endl; in main()