Think about the following example.
You create an interface called Shape..
public interface Shape {
public int getArea();
}
You could then create two different classes implementing Shape called Square and Circle
class Square implements Shape {
private int width;
private int...
Hello,
I'm fairly new to visual c++ and am currently working my way thourgh a few examples of windows programming.
Anyway, the curent example I'm putting together is a very simple drawing application (the kind of thing you find in all the learn visual c++ books).
The problem I'm facing is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.