tr_ll_stack_0.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 43 行
CC
43 行
// file: tr_ll_stack_0.cc//// isip include files//#include "train_link_list.h"#include "train_link_list_constants.h"// method: push_cc//// arguments:// Train_Link_node* node : (input) a link node to set at head of list//// return: a logical_1 to indicate success//// this method sets the specified node at the head of the linked list// and connects the list accordingly//logical_1 Train_Link_list::push_cc(Train_Link_node* node_a) { // exit ungracefully if the node is null // if (node_a == (Train_Link_node*)NULL) { return ISIP_FALSE; } // connect the head node to this // if (head_d != (Train_Link_node*)NULL) { head_d->set_prev_cc(node_a); } node_a->set_next_cc(head_d); node_a->set_prev_cc((Train_Link_node*)NULL); // set this node at head // head_d = node_a; // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?