⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c04p210.txt

📁 Data Abstraction & Problem Solving with C++源码
💻 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 + -