[Prev][Next][Index]

Problem with pc++2dep




Hi,

I tried running pc++2dep on the following program:

#include <iostream.h>

class Car {
public:
  void Drive() {
    cout << "Driving ";
  }
};


int main ()
{
  cout << "Driving ";
}


The following error is generated:

Error on line 13 of tesu.C:  Undefined symbol 'cout'

(This is the cout in main().)

If that line is commented out, then pc++2dep runs 
correctly.  Notice that there is also a reference to
cout in the Drive method of the Car class.  I am 
running the CVScheckout-950911.tar version of the
system.

Thanks for any help,

Lance
unicron@cs.utexas.edu