Dear AncientDragon
I have been learning c++ for two months only.
Now,I am trying to understand pointers in c++.Your advise always be helpful to me.
As far I understand a pointer is an address.As an example p1(pointer1) has this {x1,y1} address.So Pointer2 has {x2,y2}.
There should be three different files those work together.(pointers.cc, testpointers.cc and pointer.h)
Especially,I am struggling on writing these two .cc files.
I would be very happy if you could help me.
regards

Here is a good tutorial on pointers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.