0

Possible Duplicate:
Error handling in C code

I mean, I guess not all languages have exceptions so how I e.g. in C will find out more about a failure?

Community
  • 1
  • 1
John V
  • 4,855
  • 15
  • 39
  • 63

1 Answers1

0

Return error codes from your functions, or a boolean indicating success/failure.

Robert Harvey
  • 178,213
  • 47
  • 333
  • 501