4 ms·
The content of error messages depends on who's going to be seeing those messages. An "industrial-strength" C compiler like GCC has terse error messages, for ex
by csense 14y ago
The content of error messages depends on who's going to be seeing those messages.
An "industrial-strength" C compiler like GCC has terse error messages, for example:
prgm.c:2:1: error: expected declaration or statement at end of input
A C parser on a website that teaches C to beginning programmers, however, should present more descriptive error messages.
That same website's server logs will probably have much more terse, unfriendly error messages because those will only be seen by the site administrators.