Results 1 to 13 of 13

Thread: Class Definition and string data members

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2003
    Posts
    47

    Question Class Definition and string data members

    Hello, all!

    I'm having some problems writing a class definition while using string data members.

    I'm using string type members of the string class. That's okay right? Or should I be using c-strings (char arrays?).

    In any case, I'm receiving a number of error messages:

    - missing storage class...
    - missing ";" before identifier varname (i.e. string varname)...it's telling me to put a ";" after string...yeah right.

    Attached is my code. It's probably just something stupid. Can you see the error or errors anywhere?

    Thanks!!
    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