摘要:
//我的方法是:把输入的两个字符串都转化成标准的字符串(即无空格不区分大小写的字符串),然后用strcmp()函数比较即可。#include <stdio.h>#include <string.h>#include <ctype.h>#include <iostream>using namespace std;char astr1[110], astr2[110], bstr1[110], bstr2[110];void Get(){ cin.getline(astr1,110); cin.getline(astr1,110); cin.getl 阅读全文