需要信息 [英] Need info

查看:74
本文介绍了需要信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写一个具有find_a()函数的程序......我还没有学到这个,所以我想知道是否有人知道它或者能指出我正确的方向找到关于它的一些事情...

I''m trying to write a program with the function of find_a()... i haven''t learned this yet so i was wondering if anyone knew anything about it or could point me in the right direction to find out something about it...

推荐答案

从未听说过它。它不属于STL。


它适用于哪个包/ lib?
Never heard of it. Its not part of the STL.

What package/lib does it apply to?



从未听说过它。它不属于STL。


它适用于哪个包/ lib?
Never heard of it. Its not part of the STL.

What package/lib does it apply to?



我的教授称它为假设函数。并且还说这个函数将任意输入流引用作为参数,然后从流中读取字符,直到它找到''a''。然后该函数应返回读取的字符数。


我很确定我知道如何计算字符数。它或多或少试图弄清楚如何使用find_a()。

My professor called it a hypothetical function. And also said This function will take a arbitrary input stream reference as a parameter, then read characters in from the stream until it finds an ''a''. The function should then return the number of characters read.

I''m pretty sure i know how to have it count the number of characters. Its more or less trying to figure out how to use find_a().



我的教授称它为假设函数。
My professor called it a hypothetical function.



啊!这意味着该功能实际上并不存在于任何真实的库中。你要想象这个功能。作为某些类的一部分在那里。

Ah! This means the function does not actually exist in any real library. You are to imagine this "function" being part of some class "out there".


并且还说这个函数将任意输入流引用作为参数,然后读取字符从流中直到找到''a''。然后该函数应返回读取的字符数。


我很确定我知道如何计算字符数。它或多或少试图弄清楚如何使用find_a()。
And also said This function will take a arbitrary input stream reference as a parameter, then read characters in from the stream until it finds an ''a''. The function should then return the number of characters read.

I''m pretty sure i know how to have it count the number of characters. Its more or less trying to figure out how to use find_a().



所以要使用它,你需要知道1)你传递给它的东西,2)它对你传递给它的东西做了什么,以及3)什么它返回。然后你就可以弄清楚如何使用它。

So to use it, you will need to know 1) what you pass to it, 2)what it does to what you pass to it, and 3) what it returns. Then you can figure out how to use it.


这篇关于需要信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆