C++运行符重载、友元函数
摘要:Complex.h 1 #pragma once 2 #include 3 4 using namespace std; 5 //表示一个复数 6 class Complex 7 { 8 private: 9 double x, y;10 public:11 Complex();...
阅读全文
posted @ 2014-12-12 22:38
posted @ 2014-12-12 22:38
posted @ 2014-12-09 23:05
posted @ 2014-12-03 23:42