casting in C++

C

coeng

I am having trouble comprehending the use of the four casting
operators in C++.

Does anyone know of a URL that provides a very detailed, yet very
simple, explanation of what they accomplish and most importantly when
you would and when you would not use them (citing examples).
 
P

Peter van Merkerk

I am having trouble comprehending the use of the four casting
operators in C++.

Does anyone know of a URL that provides a very detailed, yet very
simple, explanation of what they accomplish and most importantly when
you would and when you would not use them (citing examples).

Item 2 of the highly recommend book "More Effective C++" from Scott
Meyer has what you are looking for. Unfortunately I don't have an URL
for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,825
Members
47,371
Latest member
Brkaa

Latest Threads

Top