943,569 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Marked Solved
  • Views: 1353
  • C RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Aug 6th, 2009
1

Re: Return 0;

no1zson> What is wrong with GOTO?
It usually is misused and it has the potential of making any code hard to debug and maintain.

no1zson> What would you suggest in its place?
Ideally, a sharp mind with the ability to design a flow control from top to bottom.
Last edited by Aia; Aug 6th, 2009 at 2:46 pm.
Aia
Reputation Points: 2224
Solved Threads: 218
Nearly a Posting Maven
Aia is offline Offline
2,304 posts
since Dec 2006
Aug 6th, 2009
0

Re: Return 0;

Meaning if it was not misused there is no issue?

Perhaps it is my lack of experience, but I would think a sharp mind might also weigh the possibility of future POTENTIAL issues against this program's simplicity and the cost of re-coding something that already works and find no real reason to remove it.
Reputation Points: 59
Solved Threads: 1
Posting Whiz in Training
no1zson is offline Offline
226 posts
since Jul 2007
Aug 6th, 2009
1

Re: Return 0;

Click to Expand / Collapse  Quote originally posted by no1zson ...
Meaning if it was not misused there is no issue?
The only times it should ever be used are of the most rarest situations.
So don't get any ideals about using in substitution of well planned logic.
Reputation Points: 888
Solved Threads: 114
Nearly a Posting Virtuoso
MosaicFuneral is offline Offline
1,270 posts
since Nov 2008
Aug 6th, 2009
0

Re: Return 0;

Thanks.
I was hoping that was well planned logic! lol

Shows what I know.
Reputation Points: 59
Solved Threads: 1
Posting Whiz in Training
no1zson is offline Offline
226 posts
since Jul 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: can u please solve
Next Thread in C Forum Timeline: Reading char from stdin without waiting for input





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC