D
Digital Puer
Hi, I am interested in catching exceptions and printing the
line number and file name of where the exception occurred,
like what is done in Java. For example, when vector's at()
accesses beyond its size and throws an exception, I would like
to have the file and line information available.
Any ideas how I can do this?
line number and file name of where the exception occurred,
like what is done in Java. For example, when vector's at()
accesses beyond its size and throws an exception, I would like
to have the file and line information available.
Any ideas how I can do this?