MyInt
来源:互联网 发布:淘宝直播卖衣服怎么样 编辑:程序博客网 时间:2024/06/12 01:21
#include <iostream>using namespace std;class MyInt { int nVal; public: MyInt( int n) { nVal = n ;} int ReturnVal() { return nVal;} MyInt& operator - (int a){this->nVal -= a;return * this;}}; int main () { MyInt objInt(10); objInt - 2 - 1 - 3; cout << objInt.ReturnVal(); cout <<","; objInt - 2 - 1; cout << objInt.ReturnVal(); return 0;}
- MyInt
- conversion from 'LinkedList<myInt>*' to non-scalar type 'LinkedList<myInt>' requested
- PKU-MyInt和HugeInt作业-程设hw03
- android研究步骤
- oracle process设置的注意事情
- ORA-02266解决办法
- 也作一下装配脑袋的Expression习题 8).(高难度)new System.Windows.Point() { X = Math.Sin(a), Y = Math.Cos(a) }
- iphone编程资源站
- MyInt
- skserver.exe和SkServerGUI.exe代理服务器
- Oracle 密码文件
- 帮助解决一个struts问题
- Annan warns against use of more force in Syria
- 工作积累之CPPUNIT框架
- oracle主键设置
- 【shell】嵌入文档Here Documents
- 一个引用 引发的问题