What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C++ help

C++ help
Author: Message:
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
O.P. RE: RE: C++ help
quote:
Originally posted by TheBlasphemer
quote:
Originally posted by raceprouk
quote:
Originally posted by Millenium_edition
code:
        MessageBox((HWND)0,reinterpret_cast<const char*>(tempchar),'\0',0);

I'm surprised that compiled, sort of. Passing a char when you need a char* should be picked up by the compiler.


not if you tell it explicitly to reinterpret cast :P

I did that because it gave me an error if I didn't, but that's probably my fault :(

i realized that afterwards. but I'm a c++ noob atm :p

(thanks to everyone :) )
01-26-2005 07:39 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C++ help - by Millenium_edition on 01-25-2005 at 01:55 PM
RE: C++ help - by Concord Dawn on 01-25-2005 at 01:59 PM
RE: RE: C++ help - by Millenium_edition on 01-25-2005 at 02:09 PM
RE: C++ help - by RaceProUK on 01-26-2005 at 09:38 AM
RE: C++ help - by segosa on 01-26-2005 at 06:35 PM
RE: C++ help - by TheBlasphemer on 01-26-2005 at 06:59 PM
RE: RE: C++ help - by Millenium_edition on 01-26-2005 at 07:39 PM
RE: C++ help - by RaceProUK on 01-26-2005 at 09:06 PM
RE: C++ help - by zaidgs on 01-28-2005 at 02:50 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On