|
-
April 28th, 2003, 12:40 PM
#1
Casting...help please...
Could you tell me if there is any difference between the two types of casting:
(int)MyVar and static_cast<int>MyVar.
If no, could you tell me why static_cast has been used instead of (directly) casting method as that former does above ?
Thank you very much...
Regards,
Nina.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|