Advertisement

07.02.2008 at 08:15PM PDT, ID: 23535744
[x]
Attachment Details

error codes

Asked by zizi21 in C Programming Language

hi,

i understand that in main, we use exit_success, exit_failure

but lets say , we want to sent from the function we make

example

int myfunct(....)

return exit_success;

is that good programming practice....someone told me that we only use exit_success,etc in main and not in functions we make..thanksStart Free Trial
[+][-]07.02.2008 at 08:27PM PDT, ID: 21922491

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 08:30PM PDT, ID: 21922510

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 08:38PM PDT, ID: 21922535

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 08:46PM PDT, ID: 21922559

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C Programming Language
Sign Up Now!
Solution Provided By: sunnycoder
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.02.2008 at 09:56PM PDT, ID: 21922746

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.03.2008 at 01:38AM PDT, ID: 21923637

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628