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. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt R
    Replies:
    2
    Views:
    430
    John Simons
    Dec 10, 2003
  2. Walter Traprock

    Re: OOP vs. public domain and other ruminations

    Walter Traprock, Dec 14, 2005, in forum: DVD Video
    Replies:
    0
    Views:
    447
    Walter Traprock
    Dec 14, 2005
  3. anthony
    Replies:
    0
    Views:
    402
    anthony
    Jun 7, 2006
  4. Beatrix

    Developing win app

    Beatrix, Nov 26, 2007, in forum: MCSD
    Replies:
    0
    Views:
    1,183
    Beatrix
    Nov 26, 2007
  5. Fleckz328
    Replies:
    0
    Views:
    636
    Fleckz328
    Dec 13, 2008
Loading...

Share This Page