[Prev][Next][Index]
Problem with pc++2dep
- From: unicron@cs.utexas.edu (Lance Aiji Tokuda)
- Date: Thu, 14 Sep 1995 14:44:26 -0500
- To: sage-bugs@extreme.indiana.edu
- Subject: Problem with pc++2dep
- Sender: owner-sage-bugs@extreme.indiana.edu
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