Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-03-2004, 12:05 AM   #1
Registered: Mar 2004
Posts: 79

Rep: Reputation: 15
Question facing problem in increment operator of set :infinite LOOP


iam using set STL in my code.
when i am using its iterator to increment it goes in to infinte loop .
i am attaching the piece of code . the code is running fine in MSVC

set <CNodeWrapper> subNetwork
set<CNodeWrapper>::iterator subNetworkBeg; subNetworkBeg = subNetwork.begin();
subNetworkEnd = subNetwork.end();
for(;subNetworkBeg != subNetworkEnd; ++subNetworkBeg)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash equivalent to C increment operator andrewb758 Linux - General 5 02-21-2009 12:25 PM
Infinite Loop ewt3y Programming 3 08-16-2005 09:48 AM
Linux Infinite Reboot Loop SNunweiler Linux - Software 2 05-10-2005 12:31 PM
infinite loop beginner_84 Programming 5 08-15-2004 02:32 AM
fetchmail stuck in infinite loop Prommy Linux - Software 0 02-17-2004 08:15 AM

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration