nmap_01.cc

来自「这是一个从音频信号里提取特征参量的程序」· CC 代码 · 共 60 行

CC
60
字号
// file: $isip/class/io/NameMap/nmap_01.cc// version: $Id: nmap_01.cc,v 1.1 2000/12/13 23:35:59 duncan Exp $//// isip include files// #include "NameMap.h"#include <Console.h>// method: debug//// arguments://  const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean NameMap::debug(const unichar* msg_a) const {  // declare local variables  //  SysString value;  SysString output;  // output an information message  //  output.debugStr(name(), msg_a, L"names_d");  Console::put(output);  Console::increaseIndention();  // call the debug method of Vector<String>  //  for (long i = 0; i < size_d; i++) {    SysString num;    num.assign((long)i);    num.insert(L"element[", 0);    num.concat(L"]");    names_d[i].debug((unichar*)num);  }  // decrease indention  //  Console::decreaseIndention();    // display the checksum  //  value.assign((ushort)checksum_d);  output.debugStr(name(), msg_a, L"checksum_d", value);  Console::put(output);  // display the debug level  //  value.assign((long)debug_level_d);  output.debugStr(name(), msg_a, L"debug_level_d", value);  Console::put(output);    // exit gracefully  //  return true;}

⌨️ 快捷键说明

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