void errorMessage( constchar *file, /* The file in which the error occured. */ int line, /* The line before which the error occured. */ constchar *function, /* The function in which the error occured. */ constchar *message) /* The message to be printed. It will be
prefixed by "Error: ". */
{
printf( "\n\n Error: %s\n" " Program was executing function %s (line %d in file %s).",
message, function, line, file); exit(ERROR_RETURN_CODE);
}
void errorMessage1i( constchar *file, /* The file in which the error occured. */ int line, /* The line before which the error occured. */ constchar *function, /* The function in which the error occured. */ constchar *message1, /* The first part of the error message. */ Unsigned intParm, /* The integer variable part of the message. */ constchar *message2) /* The second part of the error message. */
{
printf( "\n\n Error: %s%u%s\n" " Program was executing function %s (line %d in file %s).",
message1, intParm, message2, function, line, file); exit(ERROR_RETURN_CODE);
}
void errorMessage1s( constchar *file, /* The file in which the error occured. */ int line, /* The line before which the error occured. */ constchar *function, /* The function in which the error occured. */ constchar *message1, /* The first part of the error message. */ constchar *strParm, /* The integer variable part of the message. */ constchar *message2) /* The second part of the error message. */
{
printf( "\n\n Error: %s%s%s\n" " Program was executing function %s (line %d in file %s).",
message1, strParm, message2, function, line, file); exit(ERROR_RETURN_CODE);
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.