jonnyboy12
0
Junior Poster in Training
Recommended Answers
Jump to PostWell, since your first example is an prime example if dereferencing an uninitialized pointer, I'm tempted to suggest that you learn more about pointers. But I actually have a better answer to your immediate problem of not knowing when to use a pointer: don't use pointers.
If you refrain …
All 2 Replies
Reply to this topic
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.