Completed Code but A LOT of GOTO...Replacement?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2005
Posts: 12
Reputation: cscotty is an unknown quantity at this point 
Solved Threads: 0
cscotty cscotty is offline Offline
Newbie Poster

Re: Completed Code but A LOT of GOTO...Replacement?

 
0
  #11
Jun 6th, 2005
I'm working on it....post will be soon....

Scott
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 22
Reputation: EricaJanine is an unknown quantity at this point 
Solved Threads: 0
EricaJanine's Avatar
EricaJanine EricaJanine is offline Offline
Newbie Poster

Re: Completed Code but A LOT of GOTO...Replacement?

 
0
  #12
Jun 10th, 2005
Hey Scott,

I ran across this in another forum...maybe this is another approach you can take?

http://www.daniweb.com/code/snippet10.html

It is similar, I believe, to what you are trying to do.
1. If at first you don't succeed; call it version 1.0.
2. Just because nobody understands you does not mean you're an artist.
3. :twisted:
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 44
Reputation: bjdea1 is an unknown quantity at this point 
Solved Threads: 0
bjdea1 bjdea1 is offline Offline
Light Poster

Re: Completed Code but A LOT of GOTO...Replacement?

 
0
  #13
Jun 10th, 2005
While many say GOTO is bad I happen to believe its very handy. 20 is quite a lot though. A few goto's is ok - but 20 may be getting too much. Try replacing the with if/else.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC