Esempio n. 1
0
        void test_queue()
        {
            //test queue
            myQueue <int> q = new myQueue <int>();

            q.push(1);
            int tmp = q.pop();

            q.push(2);
            q.push(3);
            tmp = q.pop();
            tmp = q.pop();
            return;
        }