lat_get_3.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 32 行
CC
32 行
// file: lat_get_3.cc//// isip include files//#include "lattice.h"#include "lattice_constants.h"// method: get_utterance_cc//// arguments:// char_1*& utterance_a: (output) utterance represented by the lattice// // return: a logical_1 indicating status//// this method returns the utterance represented by the lattice//logical_1 Lattice::get_utterance_cc(char_1*& utterance_a) { // allocate memory for the output buffer // if (utterance_a != (char_1*)NULL) { delete [] utterance_a; } utterance_a = new char_1[strlen((char*)utterance_d)+1]; strcpy((char*)utterance_a, (char*)utterance_d); // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?