csci3081/class-repo-public/labs/lab02/Duck.cpp
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

25 lines
412 B
C++

//
// Duck.cpp
// CSCI3081-Lab1
//
// Created by Sarit Ghildayal on 1/24/15.
// Copyright (c) 2015 Sarit Ghildayal. All rights reserved.
//
#include <iostream>
#include "Duck.h"
using std::cout;
using std::endl;
Duck::Duck() {
}
void Duck::performQuack() {
cout << "QUACK!!" << endl;
}
std::string Duck::getDescription() {
std::string descriptionText = "a plain duck";
return descriptionText;
}