Can someone please remind me what "->" means and how to use it.
COKEDUDE 27 Junior Poster in Training
Recommended Answers
Jump to PostHi,
I would like to add a bit to what Colezy said. First of all, I think there is a '*' missing in the code:
//Direct access with 'dot' Object myObjectDirect; myObjectDirect.doWork(); //Indirect access with pointer arrow Object *myObjectPointer = new Object(); myObjectPointer->doWork();
To fully understand …
All 3 Replies
Colezy 4 Light Poster
iw2z 1 Newbie Poster
Colezy commented: Good post, clear information +1
Colezy 4 Light 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.