Click here to Skip to main content
15,886,664 members

Articles by sergiogarcianinja (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 0.00

Programming Languages
C#
7 Feb 2011   Updated: 7 Feb 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 4,221     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
As this piece of code is normally a function, should be more readable if all of it is put inside a function returning a bool, indicating success or failure.The cleanup function could be only resource deallocation, not a function at all. If it is intended to use with C++ or C#, a try..finally...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.