什么是运营商开发以及我们使用它的原因 [英] what is operator oveloading and why we use it

查看:194
本文介绍了什么是运营商开发以及我们使用它的原因的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里知道什么是运算符重载以及为什么我们使用它... plz让我知道它背后的原因是什么

解决方案

这只需要 https://www.google.com,就可以轻松找到适合自己的答案。 / search?q = operator + overloading [ ^ ],或阅读编程书。


木乃伊 Microsoft 轻轻提供一个教程:操作员重载教程 [ ^ ]。



参见(最近的):如何:使用运算符重载到创建复数类(C#编程指南) [ ^ ]。



请注意运营商重载是一个相当高级的主题(你可能会发现几篇关于他们的文章) subtetlies)。

i am here to know that what is operator overloading and why we use it... plz do let me know what is the reason behind it

解决方案

This is the sort of question that you can easily find answers for yourself, just by doing https://www.google.com/search?q=operator+overloading[^], or reading a programming book.


Mummy Microsoft gently provides even a tutorial: "Operator Overloading Tutorial"[^].

See also (the more recent): "How to: Use Operator Overloading to Create a Complex Number Class (C# Programming Guide)"[^].

Please note operator overloading is a rather advanced topic (you may find several articles about their subtetlies).


这篇关于什么是运营商开发以及我们使用它的原因的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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