hi Do anyone know how pass Queue (by referece) to a funzion (in these 2 case)? thanks
Qt Code:
  1. void populate(Queue<int>& ll){
  2.  
  3. }
  4. Queuet<int,20>* l = new Queue<int,20>;
  5. //Queue<int>* l = new Queue<int>;
  6. populate(l);
To copy to clipboard, switch view to plain text mode