Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C++ (http://www.domainnameforum.org/forumdisplay.php?f=123)
-   -   Pointers (http://www.domainnameforum.org/showthread.php?t=112000)

C++ 07-27-2010 12:13 AM

Pointers
 
Hi, im just a beginner in C++ and was wondering what exactly are pointers used for? Are they just to refer back to something or are they used differently than that? I was reading through the chapter on pointers in my programming book and it doesn't really clarify.

m2hjessica 07-27-2010 03:05 AM

Hello,

Pointers are addresses. The can be assigned, or made to point to another memory location. They are a powerful concept that is not well understood by many users of C. Their use can make code more efficient, more readable, and more functional.


All times are GMT -4. The time now is 05:46 PM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.