示例#1
0
	public: virtual void fly() {
				for (int i = 0; i < 5; i++) {
					turkey->fly();
				}
	}
示例#2
0
	public: virtual void quack() {
				turkey->gobble();
	}
 void quack(){
     turkey->gobble();
 }
 void fly(){
     for(int i = 0; i < 5; i++){
         turkey->fly();
     }
 }
示例#5
0
文件: hea.cpp 项目: pcellix/workspace
 void makeQuacke() {
     turkey->makeGobble();
 }