que_cstr_3.cc

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

CC
36
字号
// file: que_cstr_3.cc//// isip include files//#include "question.h"#include "question_constants.h"// method: constructor//// arguments://   char_1* attribute: (input) question name//   logical_1 direction: (input) left or right tag//   int_4 num: (input) context position//// return: none//// this is the overloaded constructor//Question::Question(char_1* attribute_a, logical_1 direction_a, int_4 num_a) {  // allocate memorey for the attribute  //  attribute_d = new char_1[strlen((char*)attribute_a) + 1];  strcpy((char*)attribute_d, (char*)attribute_a);      // set the direction flag and phone position  //  direction_d = direction_a;  num_d = num_a;    // exit gracefully  //}  

⌨️ 快捷键说明

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