中缀是什么意思 [英] What does it mean with infix

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

问题描述

你好专家!


我正在阅读一本关于C ++的书,他们提到了中缀,告诉它是什么。

是。

我希望你能在那里工作。


非常感谢!

// Tony

解决方案

" Tony Johansson"写道:

我正在读一本关于C ++的书,他们提到中缀并告诉它是什么。
我希望你能在那里做到。




中缀意味着操作员介于操作数之间,只是普通的方式
你在学校学到的
。还有后缀和前缀,你可能会在以后接触到
..


osmium写道:

" ;托尼约翰逊写道:

我正在读一本关于C ++的书,他们提到中缀并告诉它是什么。
我希望你在那里可以这样做。



中缀意味着操作员介于操作数之间,只是你在学校学到的普通方式。还有后缀和前缀,你可以稍后再曝光..




实际上,在函数调用中没有用于C ++的前缀表示法,

本质上?首先是函数的名称,然后是参数列表

...


V


< blockquote> Victor Bazarov写道:

osmium写道:

" Tony Johansson"写道:

我正在阅读一本关于C ++的书,他们提到中缀并告诉它是什么。
我希望你在那里可以这样做。



中缀意味着操作符位于操作数之间,只是普通的方式
^^^^^^^^^

你在学校里学到了还有后缀和前缀,你可以稍后再曝光..



实际上,在C ++中没有用于函数调用的前缀符号,
基本上?




是的,但对二进制运算符通常不行。一元是前缀或后缀,

取决于运营商。


Hello Experts!

I''m reading i a book about C++ and they mention infix with telling what it
is.
I hope you out there can do so.

Many thanks!
//Tony

解决方案

"Tony Johansson" writes:

I''m reading i a book about C++ and they mention infix with telling what it
is.
I hope you out there can do so.



Infix means the operators are between the operands, just the ordinary way
you learned in school. There is also postfix and prefix which you may be
exposed to later..


osmium wrote:

"Tony Johansson" writes:

I''m reading i a book about C++ and they mention infix with telling what it
is.
I hope you out there can do so.


Infix means the operators are between the operands, just the ordinary way
you learned in school. There is also postfix and prefix which you may be
exposed to later..



Actually, isn''t prefix notation used in C++ for function calls,
essentially? Name of the function comes first, then the list of
the arguments...

V


Victor Bazarov wrote:

osmium wrote:

"Tony Johansson" writes:

I''m reading i a book about C++ and they mention infix with telling what
it is.
I hope you out there can do so.


Infix means the operators are between the operands, just the ordinary way ^^^^^^^^^
you learned in school. There is also postfix and prefix which you may be
exposed to later..



Actually, isn''t prefix notation used in C++ for function calls,
essentially?



Yes, but for binary operators usually not. Unary ones are prefix or postfix,
depending on the operator.


这篇关于中缀是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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