CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Jul 2005
    Posts
    23

    Inheritance problem (default constructor error)

    hey guys im new here and new to programming in C++
    i have this project for school and ive hit a dead end.

    included i have attached the header, functions cpp, and driver cpp files

    when building i get the following error :error C2512: 'automobile' : no appropriate default constructor available

    now ive read the other thread in here about that same error but, the difference is that i dont have a class within a class, they are inherited classes.

    any help would be extremly appreciated!!!!!!!

    thx guys
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured