c04p210.txt
来自「Data Abstraction & Problem Solving with 」· 文本 代码 · 共 15 行
TXT
15 行
// display the data in a circular linked list;// list points to its last nodeif (list != NULL){ // list is not empty Node *first = list->next; // point to first node Node *cur = first; // start at first node // Loop invariant: cur points to next node to // display do { display(cur->item); // write data portion cur = cur->next; // point to next node } while (cur != first); // list traversed?} // end if
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?