代码搜索结果

找到约 10,000 项符合 2 的代码

c12-2-2.cpp

#include #include using namespace std; class Student {public: Student(int,string,float); virtual void display(); protected: int num; string name; float

c14-2-2.cpp

#include using namespace std; int main() {void f1(); try {f1();} catch(double) {cout

c7-2-2.cpp

#include #include using namespace std; struct Person { string name; int count; }; int main() {Person leader[3]={"Li",0,"Zhang",0,"Fun",0}; int i,j; string leade

c10-2-2.cpp

#include using namespace std; class Complex {public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} Complex operator + (Complex &c2); void display(

xt13-2-2.cpp

#include using namespace std; int main() {float a[5]; int i; cout

xt6-2-2.cpp

#include #include using namespace std; int main() {void change(string &,string &); string str1=" ", str2=" ", str3="