📄 ll_error_0.cc
字号:
// file: ll_error_0.cc// // isip include files//#include "link_list.h"#include "link_list_constants.h" // method: error_handler_cc//// arguments:// char_1* mname: (input) method name in which the error occurred// char_1* msg: (input) message to be printed//// return: a logical_1 value indicating status//// this method displays an error message.//volatile void Link_list::error_handler_cc(char_1* mname_a, char_1* msg_a) { // display a message // if (mname_a != (char_1*)NULL) { // check for no message // if (msg_a != (char_1*)NULL) { fprintf(stdout, "%s::%s: %s\n", LL_CLASS_NAME, mname_a, msg_a); } else { fprintf(stdout, "%s::%s: fatal error\n", LL_CLASS_NAME, mname_a); } } // exit very ungracefully // exit(ISIP_PROTO_ERROR);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -