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

Thread: Circular Dependency error

Threaded View

  1. #1
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    Circular Dependency error

    Hi ,

    I was doing Uni assignment ( not looking for a full solution ) had to use the start up code provided ( other wise this issue would not have come ),
    when compiling the source I get the following error

    "pms_program.h:54:56: error: expected declaration specifiers or ‘...’ before ‘CourseType’"

    the code you are looking for in pms_course.h ( there is a circular dependency between pms.h , pms_course.h and pms_program.h)
    Head tutor provided a GUARD however don't think it works properly

    function prototype AppendProgram ( part of doubly linked list )



    I have attached the full course code.

    As much as I like I cannot change the structure of the startup code , I was hoping that someone know a solution or cam point me to the problem

    please see attached zip file for the entire source code.

    Thanks for Stopping by.
    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center