csci3081/repo-zhan4854/exercises/dynamicallocation/duck.cc
Michael Zhang 1ba4536588
f
2018-01-29 17:24:20 -06:00

19 lines
335 B
C++

//
// Duck.cpp
//
// Created by Sarit Ghildayal on 1/24/15.
// Copyright (c) 2015 Sarit Ghildayal. All rights reserved.
//
#include "duck.h"
#include <iostream>
using std::cout;
using std::endl;
Duck::Duck() { SetName("Duck"); }
Duck::Duck(std::string name) { SetName(name); }
void Duck::PerformQuack() { printf("Quack\n"); }