Hello from Switzerland... Is there anybody that can tell me what is a <b>pointer</b> and how do I have to use it... I have programmed in Java but there's no pointers! Thanks a lot!
Dear Niclass,<br><br>Well you sure picked one heck of a topic. Pointers go back to 'C' and are considered by many to be the most difficult topic in C/C++. Some books will devote an entire chapter to the explanation and discussion of pointers. Since I have never written a book I am probably not qualified to explain pointers to you or anyone else, but since you asked I will give it a whirl.<br><br>Ok... I started to explain... I had four paragraphs and had barely scratched the surface... it would just take too much time to give you a thorough explanation. I really suggest getting a book or two.<br><br>-pete<br>
Hi<br>I will give short information about pointers.<br>Pointers are address. You can ask, why we are using pointers in case of values. If we use pointers our program will be faster becouse we can access to address directly else when we compile our codes, the machine language will give addresses for each values ( this takes extra time of processor ) <br><br>This is the summary of the pointers. But you should read C, C++ books to get more informations. And you should care when you use pointers.<br><br>best regards.<br><br><br><br><br><br><br> <br><br>
um, why numerous reasons, all a pointer does is point to an address in memory, you can create dynamic arrays using this(linked list, binary tree , so forth), you can create function pointers to change which function to use. so forth. In java this may confuse you because Java has no pointers, the only way you can reference an object, is through it's name, and has no real concept of pointer to memory addresses. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
Dear Niclass,<br><br>Having been disappointed with my earlier post I decided to do a little research. A simple search on yahoo for the phrase "C++ Pointers" turned up this link on the first page:<br><br><A HREF="
will get you started.<br><br>Also Yahoo seems to have a new results list design. It looks good and they are still not using CSS.<br><br>Good luck<br>-pete
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.