ln_insert_0.cc

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

CC
39
字号
// file: ln_insert_0.cc// // isip include files//#include "link_node.h"#include "link_node_constants.h" // method: insert_cc//// arguments://  Link_node* node : (input) the node pointer to insert//// return: a logical_1 indicating success//// this method inserts a new node in the next position//logical_1 Link_node::insert_cc(Link_node* node_a) {  // make sure it is a valid node  //  if (node_a == (Link_node*)NULL) {    return ISIP_TRUE;  }    // set the next node pointer by adjusting link pointers  //  if (next_d != (Link_node*)NULL) {    next_d->prev_d = node_a;    node_a->next_d = next_d;  }  node_a->prev_d = this;  next_d = node_a;    // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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