Click here to Skip to main content
14,447,309 members

C / C++ / MFC

 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 8:38
Memberkhomeyni24-Jan-10 8:38 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 9:29
MemberAvi Berger24-Jan-10 9:29 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 9:35
Memberkhomeyni24-Jan-10 9:35 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 9:51
Memberkhomeyni24-Jan-10 9:51 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 9:55
MemberAvi Berger24-Jan-10 9:55 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 9:58
Memberkhomeyni24-Jan-10 9:58 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 10:10
MemberAvi Berger24-Jan-10 10:10 
GeneralRe: iterator & operator overloading error Pin
khomeyni24-Jan-10 10:23
Memberkhomeyni24-Jan-10 10: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 10:27
Memberkhomeyni24-Jan-10 10:27 
GeneralRe: iterator & operator overloading error Pin
Avi Berger24-Jan-10 10:35
MemberAvi Berger24-Jan-10 10:35 
Questionwhat are these process with user name SYSTEM Pin
Joseph Marzbani24-Jan-10 6:20
MemberJoseph Marzbani24-Jan-10 6:20 
AnswerRe: what are these process with user name SYSTEM Pin
«_Superman_»24-Jan-10 16:53
professional«_Superman_»24-Jan-10 16:53 
QuestionMove "CArchive" file pointer backward. Pin
CODEPC23-Jan-10 9:11
MemberCODEPC23-Jan-10 9:11 
AnswerRe: Move "CArchive" file pointer backward. [modified] Pin
Emilio Garavaglia23-Jan-10 11:42
MemberEmilio Garavaglia23-Jan-10 11:42 
QuestionRe: CFile seek backward Pin
David Crow23-Jan-10 8:07
MemberDavid Crow23-Jan-10 8:07 
AnswerRe: CFile seek backward Pin
Emilio Garavaglia23-Jan-10 11:44
MemberEmilio Garavaglia23-Jan-10 11:44 
Questionhow to send params to php script Pin
tfzxyinhao23-Jan-10 6:43
Membertfzxyinhao23-Jan-10 6:43 
AnswerRe: how to send params to php script Pin
Rajesh R Subramanian23-Jan-10 6:46
professionalRajesh R Subramanian23-Jan-10 6:46 
GeneralRe: how to send params to php script Pin
tfzxyinhao23-Jan-10 6:59
Membertfzxyinhao23-Jan-10 6:59 
AnswerRe: how to send params to php script Pin
Code-o-mat24-Jan-10 1:45
MemberCode-o-mat24-Jan-10 1:45 
GeneralRe: how to send params to php script Pin
tfzxyinhao24-Jan-10 21:18
Membertfzxyinhao24-Jan-10 21:18 
GeneralRe: how to send params to php script Pin
Code-o-mat24-Jan-10 22:54
MemberCode-o-mat24-Jan-10 22:54 
GeneralRe: how to send params to php script Pin
tfzxyinhao25-Jan-10 0:43
Membertfzxyinhao25-Jan-10 0:43 
GeneralRe: how to send params to php script Pin
markkuk25-Jan-10 1:00
Membermarkkuk25-Jan-10 1:00 
GeneralRe: how to send params to php script Pin
tfzxyinhao25-Jan-10 3:12
Membertfzxyinhao25-Jan-10 3:12 

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.