wrd_error_0.cc

来自「这是处理语音信号的程序」· CC 代码 · 共 40 行

CC
40
字号
// file: wrd_err_0.cc// // isip include files//#include "word.h"#include "word_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: none//// this method displays an error message.//volatile void Word::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", WRD_CLASS_NAME, mname_a, msg_a);    }    else {      fprintf(stdout, "%s::%s: fatal error\n", WRD_CLASS_NAME, mname_a);    }  }   // exit very ungracefully  //  exit(ISIP_PROTO_ERROR);} 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?