>Ya that's how the book im reading describes it.
Odd. Most people use the terms declaration and definition for what your book apparently called interface and implementation. We usually use interface and implementation for the public member functions and anything that's hidden from client code, respectively.

>Ya that's how the book im reading describes it.
Odd. Most people use the terms declaration and definition for what your book apparently called interface and implementation. We usually use interface and implementation for the public member functions and anything that's hidden from client code, respectively.

It uses both,That's why I was asking to make sure I understood it correctly.So I dont confuse one with the other. So let me see if I have this right. The interface is basicly the function prototype declared in the public: class definition.The implamentation is the function definitions of the prototypes declared in class definition public. And data members are private variables used to store or manipulate the data of the pulbic functions ?

I wish these books would just describe it one way until you get a grasp on the concept.Sometime they call it something else without even telling you what it means.You just have to figure it out as you go.

She knows what she's talking about. I haven't read it but I'm sure it's great. The better C++ books are standards-compliant and set things out in a way that basically everyone can understand, so I'm sure it will be fine.

>It sounds more like a fast paced book.
Well, it's a comparably small book, but IMHO it's the best beginning C++ book out right now. It teaches proper C++ without getting bogged down in details, yet still manages to pass a good deal of info to the reader.

>you mean you don't need to get bogged down with details when learning C++?
It depends on who you are. But for the most part, the basics can be learned and used productively without knowing every little detail and reason.

The term interface really depends on the client object, the object using your class. For example, if your class is being inherited, the interface given by your class is all public and protected members and variables. If you are just using the object, then the interface is all public members and variables, and if your using friends, your interface to the object is all public, protected, and private members and variables.