0

hi every one im working with some exersies which include inheretence
every thing is fine except that the compiler dose not recognize the base clase
it says Error Cannot open include file: 'pointType.h': No such file or directory
here is part of the code

# include "pointType.h"
# ifndef circle_H
# define circle_H


class circle : public pointType
{
public:
	//constructor
	circle(double r=0.0,int x=0,int y=0);
	void setRadius(double);
	double getRadius()const;
	double area()const;
	double circumference()const;
	void printR();

protected:
	double radius;
}
#endif

can any one help me!

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by chiwawa10
0

This has got to do with your header location in the physical directory. Check that it is in the same directory as your CPP file. Otherwise, you may specify the relative path of the file in your include statement.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.