|
-
July 14th, 2006, 05:05 PM
#4
Re: reinterpret_cast question
Thanks for the reply. Exterminator could you explain more about what you mean by "You lose the type information and for some other casting operators, you get an overhead."
Also any idea how to cast an integer into a char pointer. The problem is that I need to create a packet containing the individual bytes that make up the integer. It is to be used as a packet in a network application.
I'll also look into static cast. Thanks
Amish
Last edited by axr0284; July 14th, 2006 at 05:08 PM.
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
|