Forum: C++ Oct 11th, 2005 |
| Replies: 6 Views: 8,420 no its not legal. because you have used private inheritance your class now looks like this.....
class Bird
{
public:
Bird();
virtual ~Bird();
private:
void... |
Forum: C++ Aug 12th, 2005 |
| Replies: 54 Views: 13,130 a function prototype introduces the function to the compiler. It tells the compiler about what arguments the function takes and what it returns. A prototype looks like this...
return_type... |