STLuΐ
deque‚Μƒƒ“ƒoŠΦ”@begin

—Ό’[ƒLƒ…[‚̐ζ“ͺ‚πŽw‚·”½•œŽq‚π•Τ‚·

iterator begin();
const_iterator begin() const;

#include <iostream>
#include <deque>
using namespace std;

int main()
{
        deque<char> ob1;
        deque<char>::iterator p;
        int i;

        for(i=0; i<10; i++) ob1.push_back('a'+i);

        p = ob1.begin();
        while(p != ob1.end()) {
                cout << *p << "  ";
                p++;
        }
        return 0;
}

ŽΐsŒ‹‰Κ

a b c d e f g h i j