📄 c04p210.txt
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -