Здравствуйте VVV, вы писали:
VVV>есть такие предопределённые макросы VVV>__LINE__ — The line number in the current source file. The line number is a decimal integer constant. It can be altered with a #line directive. VVV>__FILE__ — The name of the current source file. __FILE__ expands to a string surrounded by double quotation marks.
__LINE__, __FILE__ — это хорошо, а может кто знает как узнать номер строки в которой произошло исключение? т.е.:
1. try
2. {
3. int a = b / 0;
4. }
5. catch()
6. {
7. // Как мне узнать что исключение произошло именно в строке 3?
7. }