- 博客(2)
- 收藏
- 关注
原创 个人笔记
#include #include using namespace std; void f(int n) { int i,j=0,sum=n; int a[10]={0}; while(n>0) { a[j]=n%10; j++; n=n/10; } if(a[0]==a[1]||a[0]==a[2]||a[
2016-09-12 20:59:05 213
转载 虚函数
#include using namespace std; class Student { public: Student(int ag,char se) {age=ag;sex=se;} virtual void display() { cout } protected: int age; char sex; }; class Gradua
2016-09-07 17:04:59 206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人