摘要:
写一个复数类,实现基本的运算,目的熟悉封装与数据抽象。类的定义#include #include using namespace std;class Complex{ friend ostream & operator 0) os first = rhs.first; t... 阅读全文
摘要:
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana... 阅读全文