Search:

Type: Posts; User: c_sekkha

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    6,019

    This DuckFactory is what I'm trying to implement....

    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>
  2. Replies
    3
    Views
    6,019

    Here is FlyBehaviour class, QuackBehaviour is the...

    Here is FlyBehaviour class, QuackBehaviour is the same:



    #ifndef OODESIGNEXAMPLES_FLYBEHAVIOUR_H
    #define OODESIGNEXAMPLES_FLYBEHAVIOUR_H

    #include <iostream>
    using namespace std;
  3. Replies
    3
    Views
    6,019

    Attempting to learn OO design with C++

    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...
Results 1 to 3 of 3