when i release a library of code for example my "stack class" where should i put the exception handling code for it? for example...
should it be
stack.h
stack.cpp
stackExceptions.h
stackExceptions.cpp
or..... like this
stack.h <--- embed stack exception interface in here
stack.cpp <--- embed stack exception implementation in here
Also does anyone happen to have any type of resources that explain what should and shouldn't be in certain .cpp and .h files?