yagelm
November 3rd, 2005, 12:59 AM
Hi,
I'm working on a big project that encapsulates a lot of classes.
I need to be able to send error messages from any place in the code.
All the messages need to be sent into a file.
What is the best way to accomplish that ?
Should i use global variable similar to 'cout' ?
I am using object oriented programming with c++ .
thanks in advance
I'm working on a big project that encapsulates a lot of classes.
I need to be able to send error messages from any place in the code.
All the messages need to be sent into a file.
What is the best way to accomplish that ?
Should i use global variable similar to 'cout' ?
I am using object oriented programming with c++ .
thanks in advance