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.
xcarbonx 0 Junior Poster in Training
Recommended Answers
Jump to PostPointers are used for exactly what you say: referring to something (data) by its location rather than by the name you choose to call it. It's a subtle difference but an important one.
There are lots of ways to use this one simple principle to accomplish lots of powerful …
All 4 Replies
AuburnMathTutor 37 Junior Poster
xcarbonx 0 Junior Poster in Training
green-fresh 0 Newbie Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
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.