help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird list.begin() error


From: Thomas
Subject: Re: weird list.begin() error
Date: Thu, 04 Nov 2004 17:15:36 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041101

Karthik Kumar wrote:


int main(int argc, char *argv[])
{
    PlayList pL;
      list<string> *p=pL.getList();
list<string>::iterator liter=p.begin();


   p->begin();

   How could this have worked with any other compiler ?
I fail to understand .


        return EXIT_SUCCESS;
}
-----------------------------
Arggh. I thought I tried it the other way first before I sent this.

Thanks for your help.

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]