This DuckFactory is what I'm trying to implement.
//
// Created by playerone on 2019-10-31.
//
#ifndef DUCKINTERFACE_DUCKFACTORY_H
#define DUCKINTERFACE_DUCKFACTORY_H
#include <iostream>
Type: Posts; User: c_sekkha
This DuckFactory is what I'm trying to implement.
//
// Created by playerone on 2019-10-31.
//
#ifndef DUCKINTERFACE_DUCKFACTORY_H
#define DUCKINTERFACE_DUCKFACTORY_H
#include <iostream>
Here is FlyBehaviour class, QuackBehaviour is the same:
#ifndef OODESIGNEXAMPLES_FLYBEHAVIOUR_H
#define OODESIGNEXAMPLES_FLYBEHAVIOUR_H
#include <iostream>
using namespace std;
Hello, I am attempting to make a Duck interface which can produce different types of ducks. I was hoping you could look over my code, and point out possible issues, or suggest alternatives to better...