是否有可能找到C / C ++函数的所有返回值? [英] Is it possible to finding all return values of a C/C++ function?

查看:72
本文介绍了是否有可能找到C / C ++函数的所有返回值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在更新一些描述这么多C / C ++

函数/方法(约2500)的文档。 />
但我不熟悉这些代码。所以我想找到这样一个实用工具

可以从代码生成返回值列表。

有可能吗?或者难以写一个?


谢谢。

解决方案

bi ******** @ gmail.com
11 ******************* ***@75g2000cwc.googlegroups.c om )说:


|我正在更新一些描述这么多C / C ++

|的文件功能/方法(约2500)。

|但我不熟悉这些代码。所以我想找到这样一个

|实用程序可以从代码生成返回值列表。

|可能吗?或者难以写一个?


考虑一个可能的功能:


double binjobster_div(double a,double b)

{返回a / b;

}


我想我会让你回答你自己的问题。 :-)


-

Morris Dovey

DeSoto Solar

DeSoto,爱荷华州美国
http://www.iedu.com/DeSoto


对不起,我忘了提到这里的所有代码都返回相同的

类型。让我们说它是一个预定义的枚举。所以我们不会浮动或

加倍。


Morris Dovey写道:

bi ******** @ gmail.com
11 ******************* ***@75g2000cwc.googlegroups.c om )说:


|我正在更新一些描述这么多C / C ++

|的文件功能/方法(约2500)。

|但我不熟悉这些代码。所以我想找到这样一个

|实用程序可以从代码生成返回值列表。

|可能吗?或者难以写一个?


考虑一个可能的功能:


double binjobster_div(double a,double b)

{返回a / b;

}


我想我会让你回答你自己的问题。 :-)


-

Morris Dovey

DeSoto Solar

DeSoto,爱荷华州美国
http://www.iedu.com/DeSoto


bi********@gmail.com 写道:


请不要顶尖或引用签名,更正。


Morris Dovey写道:


>> bi ******** @ gmail.com(在
11 ************ **********@75g2000cwc.googlegroups .com)说:

|我正在更新一些描述这么多C / C ++的文件功能/方法(约2500)。
|但我不熟悉这些代码。所以我想找到这样一个
|实用程序可以从代码生成返回值列表。
|可能吗?或者难以写一个?

考虑一个可能的功能:

double binjobster_div(double a,double b)
{return a / b;
}

我想我会让你回答你自己的问题。 :-)



对不起,我忘了提到这里的所有代码都返回相同的

类型。让我们说它是一个预定义的枚举。所以我们不会浮动或

加倍。



那么你想找到什么?您是否想要预测

函数返回的内容?


-

Ian Collins。


Hello everyone,

I''m updating some documents that describes so many C/C++
functions/method(about 2500).
But I''m not familiar with these codes. So I want to find such a utility
can generate returning value list from the codes.
Is it possible? Or is it hard to write one?

Thanks.

解决方案

bi********@gmail.com (in
11**********************@75g2000cwc.googlegroups.c om) said:

| I''m updating some documents that describes so many C/C++
| functions/method(about 2500).
| But I''m not familiar with these codes. So I want to find such a
| utility can generate returning value list from the codes.
| Is it possible? Or is it hard to write one?

Consider just one possible function:

double binjobster_div(double a, double b)
{ return a/b;
}

I think I''ll let you answer your own question. :-)

--
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto


I''m sorry I forgot to mention that all the code here returns the same
type. Let''s say it''s a predefined enumeration. So we won''t get float or
double.

Morris Dovey wrote:

bi********@gmail.com (in
11**********************@75g2000cwc.googlegroups.c om) said:

| I''m updating some documents that describes so many C/C++
| functions/method(about 2500).
| But I''m not familiar with these codes. So I want to find such a
| utility can generate returning value list from the codes.
| Is it possible? Or is it hard to write one?

Consider just one possible function:

double binjobster_div(double a, double b)
{ return a/b;
}

I think I''ll let you answer your own question. :-)

--
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto


bi********@gmail.com wrote:

Please don''t top-post or quote signatures, corrected.

Morris Dovey wrote:

>>bi********@gmail.com (in
11**********************@75g2000cwc.googlegroups .com) said:

| I''m updating some documents that describes so many C/C++
| functions/method(about 2500).
| But I''m not familiar with these codes. So I want to find such a
| utility can generate returning value list from the codes.
| Is it possible? Or is it hard to write one?

Consider just one possible function:

double binjobster_div(double a, double b)
{ return a/b;
}

I think I''ll let you answer your own question. :-)

I''m sorry I forgot to mention that all the code here returns the same
type. Let''s say it''s a predefined enumeration. So we won''t get float or
double.

So what do you want to find? Are you trying to predict what the
functions return?

--
Ian Collins.


这篇关于是否有可能找到C / C ++函数的所有返回值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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