Cannot define class in .h file

Comments

2 comments

  • Avatar
    Jacob Lillie

    Did you solve this problem?

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    If you put "class" in a header file, and #include that .h file in a plain C file, there's no way that the plain C compiler can understand a C++ class...

    0
    Comment actions Permalink

Please sign in to leave a comment.