📄 tr_ll_set_0.cc
字号:
// file: tr_ll_set_0.cc//// isip include files//#include "train_link_list.h"#include "train_link_list_constants.h"// method: set_head_cc//// arguments:// Train_Link_node* node : (input) a link node to set as head of list//// return: a logical_1 to indicate success//// this method sets the specified node at the head of the linked list//logical_1 Train_Link_list::set_head_cc(Train_Link_node* node_a) { // exit ungracefully if the node is null // if (node_a == (Train_Link_node*)NULL) { return ISIP_FALSE; } // set this node at head // head_d = node_a; // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -