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

📄 bpfind.cpp

📁 经典c++程序的实现
💻 CPP
字号:
// B+-tree pseudocode: find// function binaryle(A, n, K) returns the greatest value less than//   or equal to K in array A of length n.Record* BP::findhelp(BPNode* root, const KEY K) {  int currec = binaryle(root->recarray, root->numrec, K);  if (root->isLeaf())    if (root->recarray[currec].key == K)      return root->recarray[currec].pointer;    else return NULL;  else findhelp(root->recarray[currec].pointer, K);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -