what is the use of the dot operator(.) and -> operator?

Recommended Answers

All 4 Replies

This is a good post. Get a c++ book and read. :)

Didn't I answer this in another post?

I don't think you should answer this kind of questions

These are meant to be member and pointer operators.
"->" is a Structure dereference operator and
"." is Member a pointer. But i doubt this will mean anything to you, I'd suggest you read a book on C++ or get some tutorials online.
Vincentas

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.