Not too long ago I answered a similar question. You should take a look at the source code available on method #4, which also prints line numbers and filenames.
- Method #4:
A small improvement I've done on method #3 to print line numbers. This could be copied to work…
Top comments (0)