C++ 中的 use 函数是什么?

What is the use function in c++?

本文关键字:是什么 函数 use 中的 C++      更新时间:2023-10-16

我目前正在阅读一本 c++ 书籍,其中一个函数是

void fp(char v[]){
for(char* p = v; *p!=0;p++) use(*p);
}

我把它写进我的编辑器并编译了它。我还包括了标题

#include <iostream>
#include <string.h>

但是我的终端返回以下消息:

use of undeclared identifier 'use'

我也谷歌它,它在网上无处可寻,该功能不存在。

那是因为没有这样的标准库函数。

作者要么在这里使用伪代码,要么在书中的其他地方定义了这个函数。