Developing Win..ch 4 - OOP and Polymorphism

Discussion in 'MCSD' started by Beatrix, Dec 3, 2007.

  1. Beatrix

    Beatrix Guest

    Hi,

    I tried lab 4 in windows book, and got this error:
    Error 1 No overload for method 'CompoundFraction' takes '2'
    arguments D:\Projects\Fraction\Form1.cs 29 36 Fraction

    the program goes:

    else { aFraction = new CompoundFraction(numerator,
    denominator); }

    What can be wrong here? I cannot go on with the book. Does anyone know an
    easier forum for these books?
     
    Beatrix, Dec 3, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.