Results 1 to 1 of 1

Thread: Problem with returning a user defined class as type

  1. #1

    Thread Starter
    Addicted Member NOMADMAN's Avatar
    Join Date
    Aug 2002
    Location
    Closer than you think
    Posts
    237

    Problem with returning a user defined class as type

    I have a class Multimap and in its private sector I have a node class. (nested)
    Also in multimap (public sector) I have a function X that returns a Node type (from my private class).
    I get these errors:

    error C2143: syntax error : missing ';' before 'tag::id'

    error C2501: 'Node' : missing storage-class or type specifiers

    fatal error C1004: unexpected end of file found
    Error executing cl.exe.

    any idea whats going on? I'll include my class files! THANKS TO ANYONE WHO TRYS!

    PS its due at midnight tonight ;-))

    NOMAD
    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