wrd_str_0.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 35 行
CC
35 行
// file: wrd_str_0.cc// // isip include files//#include "word.h"#include "word_constants.h" // method: set_name_cc//// arguments:// char_1* name : (input) the name string//// return: a logical_1 indicating success//// this method sets the name of this word//logical_1 Word::set_name_cc(char_1* name_a) { // free existing memory // if (name_d != (char_1*)NULL) { delete [] name_d; } // copy new name // name_d = new char_1[strlen((char*)name_a) + (int_4)1]; strcpy((char*)name_d, (char*)name_a); // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?