Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Loops
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JWHooper




PostPosted: Mon Feb 18, 2008 4:30 am   Post subject: Loops

Currently, I know the while, do-while, and for loops for C++. Are there more loop function available in C++, if possible?
Sponsor
Sponsor
Sponsor
sponsor
michaelp




PostPosted: Mon Feb 18, 2008 8:48 am   Post subject: RE:Loops

Don't think so.
OneOffDriveByPoster




PostPosted: Mon Feb 18, 2008 9:35 am   Post subject: Re: Loops

JWHooper @ Mon Feb 18, 2008 4:30 am wrote:
Currently, I know the while, do-while, and for loops for C++. Are there more loop function available in C++, if possible?
Do you need one? Or are you just interested?
wtd




PostPosted: Mon Feb 18, 2008 10:26 am   Post subject: RE:Loops

You've covered it. Unless you count recursion.
OneOffDriveByPoster




PostPosted: Mon Feb 18, 2008 10:53 am   Post subject: Re: RE:Loops

wtd @ Mon Feb 18, 2008 10:26 am wrote:
You've covered it. Unless you count recursion.
I think there is goto...
Clayton




PostPosted: Mon Feb 18, 2008 11:24 am   Post subject: Re: RE:Loops

OneOffDriveByPoster @ Mon Feb 18, 2008 10:53 am wrote:
wtd @ Mon Feb 18, 2008 10:26 am wrote:
You've covered it. Unless you count recursion.
I think there is goto...


I shall never speak in your general direction again.
JWHooper




PostPosted: Mon Feb 18, 2008 3:54 pm   Post subject: Re: RE:Loops

wtd @ Mon Feb 18, 2008 7:26 am wrote:
You've covered it. Unless you count recursion.


Oh, okay. I was just making sure if I missed anything on loops.
md




PostPosted: Mon Feb 18, 2008 6:58 pm   Post subject: RE:Loops

Actually C/C++ does do goto, and it's actually pretty useful for a very limited set of cases.

Really though that's it for loops; and it's really all you ever need.
Sponsor
Sponsor
Sponsor
sponsor
JWHooper




PostPosted: Mon Feb 18, 2008 7:15 pm   Post subject: Re: RE:Loops

md @ Mon Feb 18, 2008 3:58 pm wrote:
Actually C/C++ does do goto, and it's actually pretty useful for a very limited set of cases.

Really though that's it for loops; and it's really all you ever need.


Thanks for the help!

j.
wtd




PostPosted: Tue Feb 19, 2008 11:18 am   Post subject: Re: RE:Loops

md @ Tue Feb 19, 2008 7:58 am wrote:
Actually C/C++ does do goto, and it's actually pretty useful for a very limited set of cases.

Really though that's it for loops; and it's really all you ever need.


A for-each loop would be nice...
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: