Click here to Skip to main content
15,868,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 7:38
khomeyni24-Jan-10 7:38 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 8:29
Avi Berger24-Jan-10 8:29 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 8:35
khomeyni24-Jan-10 8:35 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 8:51
khomeyni24-Jan-10 8:51 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 8:55
Avi Berger24-Jan-10 8:55 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 8:58
khomeyni24-Jan-10 8:58 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 9:10
Avi Berger24-Jan-10 9:10 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 9:23
khomeyni24-Jan-10 9:23 
i can not understand:
even for this does not work:

list<int> PL;
PL.push_front(100);
list<int>::iterator p=PL.begin();

copy(p.begin(),p.end(),ostream_iterator<int>(cout," "));
cout<<endl;


while in another where i wrote:
list<code_ch>::iterator p=t.begin();
int i=0;
while(p!=t.end()){
heap[i]=*p;
p++;
i++;
heapsize++;
}
//part of a program
and correctly works.
does list has not such ability to iterate over list elements as i want to do?
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 9:27
khomeyni24-Jan-10 9:27 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 9:35
Avi Berger24-Jan-10 9:35 
Questionwhat are these process with user name SYSTEM Pin
Joseph Marzbani24-Jan-10 5:20
Joseph Marzbani24-Jan-10 5:20 
AnswerRe: what are these process with user name SYSTEM Pin
«_Superman_»24-Jan-10 15:53
professional«_Superman_»24-Jan-10 15:53 
QuestionMove "CArchive" file pointer backward. Pin
CODEPC23-Jan-10 8:11
CODEPC23-Jan-10 8:11 
AnswerRe: Move "CArchive" file pointer backward. [modified] Pin
Emilio Garavaglia23-Jan-10 10:42
Emilio Garavaglia23-Jan-10 10:42 
QuestionMessage Removed Pin
23-Jan-10 6:55
CODEPC23-Jan-10 6:55 
QuestionRe: CFile seek backward Pin
David Crow23-Jan-10 7:07
David Crow23-Jan-10 7:07 
AnswerRe: CFile seek backward Pin
Emilio Garavaglia23-Jan-10 10:44
Emilio Garavaglia23-Jan-10 10:44 
Questionhow to send params to php script Pin
tfzxyinhao23-Jan-10 5:43
tfzxyinhao23-Jan-10 5:43 
AnswerRe: how to send params to php script Pin
Rajesh R Subramanian23-Jan-10 5:46
professionalRajesh R Subramanian23-Jan-10 5:46 
GeneralRe: how to send params to php script Pin
tfzxyinhao23-Jan-10 5:59
tfzxyinhao23-Jan-10 5:59 
AnswerRe: how to send params to php script Pin
Code-o-mat24-Jan-10 0:45
Code-o-mat24-Jan-10 0:45 
GeneralRe: how to send params to php script Pin
tfzxyinhao24-Jan-10 20:18
tfzxyinhao24-Jan-10 20:18 
GeneralRe: how to send params to php script Pin
Code-o-mat24-Jan-10 21:54
Code-o-mat24-Jan-10 21:54 
GeneralRe: how to send params to php script Pin
tfzxyinhao24-Jan-10 23:43
tfzxyinhao24-Jan-10 23:43 
GeneralRe: how to send params to php script Pin
markkuk25-Jan-10 0:00
markkuk25-Jan-10 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.