Index: [thread] [date] [subject] [author]
  From: Dave Miller <Dam8@duke.edu>
  To  : 
  Date: Mon, 01 Feb 1999 23:35:11 GMT

simple? error

I am getting a syntax error in the below edited/simplified code.  The
exact error is below the code.  Thanks for any help you offer in
advance.

// expman.h

struct ExpStore
{
    // some stuff is here
};

class ExpMan
{
   public:
    ExpMan();

   private:
    vector<ExpStore> myVar;
};

#include "expman.cc"


// expman.cc

ExpMan::ExpMan ()
    : myVar(20)
{}

I get a syntax error on this ExpMan::ExpMan () line just before ::
Anyone see what I am missing?  Thanks a lot,

 - Dave







------------------------
Dave Miller
Box 98318
Durham, NC 27708-8318
(919) 613-3232


Index: [thread] [date] [subject] [author]