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,589
  • 10
  • 36
  • 62

1 Answers1

0

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

Robert Harvey
  • 173,679
  • 45
  • 326
  • 490