User Tools

Site Tools


cpp:stl:container_common_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cpp:stl:container_common_functions [2023/05/29 16:13] – [A. Ένθεση στους sequence_containers list, forward_list, vector και dequeue] gthanoscpp:stl:container_common_functions [2023/05/29 16:33] – [Ανάθεση των περιεχομένων ενός container από τα περιεχόμενα ενός άλλου container] gthanos
Line 275: Line 275:
   if(it != myset.end()) {   if(it != myset.end()) {
     myset.erase (it);     myset.erase (it);
-    std::cout << "'buiscuits' erased\n";+    std::cout << "'biscuits' erased\n";
   }   }
   else    else 
-    std::cout << "'buiscuits' not found\n";+    std::cout << "'biscuits' not found\n";
      
   print_set(myset);   print_set(myset);
Line 312: Line 312:
  
 int main () { int main () {
-  vector<int> v;+  vector<int>= {1,2,3};
   array<int,6> a = {10, 20, 30, 40, 50, 60};   array<int,6> a = {10, 20, 30, 40, 50, 60};
      
cpp/stl/container_common_functions.txt · Last modified: 2023/05/30 19:18 by gthanos