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

📄 wvlistex.cc

📁 wvstreams软件包包含了libwvutils, libwvstreams 和 libwvcrypto 的类库. 这些是用来编译wvdial的.
💻 CC
字号:
#include "wvstring.h"#include "wvlinklist.h"   DeclareWvList(WvString);   // creates class WvStringList   int main(){    WvStringList l;    WvStringList::Iter i(l);    WvString autostr("bork bork");        l.append(new WvString("blah blah"), true); // auto-free enabled    l.append(&autostr, false); // auto-free disabled: C++ will do this one    // etc        for (i.rewind(); i.next(); )    {	// we will learn a nicer way to do this with WvStream later.	printf("%s\n", (const char *)i());    }        // exiting this function will have C++ auto-free the list, which    // causes the list to auto-free the "blah blah" string.  C++ also    // auto-frees the "bork bork" string automatically.  It doesn't matter    // that "bork bork" is freed before the list destructor is called; the    // list doesn't refer to its members during destruction, unless it    // needs to free the elements by itself.}

⌨️ 快捷键说明

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