how bad is killing bugged programs?
It happens so often, while developing, to be forced to break a running program (eg when a loop can't exit).
I'm wondering, int that case, what could happen:
1: if an opened file is not being closed correctly?
2: if an instantiated object's destructor (which contains, say, some delete statements) is not called?
3: if a library (eg SDL) is not being shut down correctly?
Here is a more specific question:
I'm developing a non professional chat software using SDL, and initializing it to enable the unicode encoding, and some key control stuff.
It happens a strange thing: sometimes I play with a videogame (armagetron) which uses the same library. Before I've started programming with SDL, I could type (in game) special chars using the ALT-GR + KEY combination, but now I cannot do that.
May it be related to the fact I'm sometimes forced to shut down (kill) my bugged program?
(OS is Linux Ubuntu 6.06 LTS)