Click here to Skip to main content
15,915,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
Joel Lucsy27-Oct-05 14:54
Joel Lucsy27-Oct-05 14:54 
Questionconst_cast problem?? Pin
Bob Stanneveld26-Oct-05 6:04
Bob Stanneveld26-Oct-05 6:04 
AnswerRe: const_cast problem?? Pin
BadKarma26-Oct-05 8:16
BadKarma26-Oct-05 8:16 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld28-Oct-05 7:01
Bob Stanneveld28-Oct-05 7:01 
AnswerRe: const_cast problem?? Pin
John R. Shaw26-Oct-05 14:59
John R. Shaw26-Oct-05 14:59 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld28-Oct-05 6:56
Bob Stanneveld28-Oct-05 6:56 
GeneralRe: const_cast problem?? Pin
John R. Shaw30-Oct-05 16:28
John R. Shaw30-Oct-05 16:28 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld30-Oct-05 18:51
Bob Stanneveld30-Oct-05 18:51 
John R. Shaw wrote:
Sorry I have been gone for a few days.


So have I... Big Grin | :-D

John R. Shaw wrote:
1) It sounds like your teachers code would not pass a review by me, let alone a quality assurance team.


That was my first thought and I offered to rewrite the entire program instead of doing all the other assignments. This was a no-go since the course is not going to be given anymore.
Anyway, that's the way we learn things in college these days.. Sigh | :sigh:

John R. Shaw wrote:
2) You still should not need to use const_cast, instead you can just call the function like so: SPrintBuffer((char*)str.c_str());.


I force myself to use straight C++ only. The C-Style casts are there fore backwards compatibility. They shouldn't make a difference. I'll try it and let you know if there it will work.


Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
QuestionLooking for GUI simple tutorial with VC++ .NET version 7.1 Pin
Loc Milkyway26-Oct-05 5:52
Loc Milkyway26-Oct-05 5:52 
AnswerRe: Looking for GUI simple tutorial with VC++ .NET version 7.1 Pin
Kevin McFarlane26-Oct-05 9:34
Kevin McFarlane26-Oct-05 9:34 
GeneralRe: Looking for GUI simple tutorial with VC++ .NET version 7.1 Pin
Loc Milkyway27-Oct-05 4:26
Loc Milkyway27-Oct-05 4:26 
QuestionOnPaint vr. DrawItem Pin
jason9926-Oct-05 5:39
jason9926-Oct-05 5:39 
AnswerRe: OnPaint vr. DrawItem Pin
Chris Losinger26-Oct-05 5:53
professionalChris Losinger26-Oct-05 5:53 
GeneralRe: OnPaint vr. DrawItem Pin
PJ Arends26-Oct-05 9:27
professionalPJ Arends26-Oct-05 9:27 
GeneralRe: OnPaint vr. DrawItem Pin
Chris Losinger26-Oct-05 9:35
professionalChris Losinger26-Oct-05 9:35 
Questionprint blank pages Pin
valerie9926-Oct-05 5:16
valerie9926-Oct-05 5:16 
Questiontoolbar for Outlook Express Pin
Anonymous26-Oct-05 4:30
Anonymous26-Oct-05 4:30 
AnswerRe: toolbar for Outlook Express Pin
andy14526-Oct-05 23:51
andy14526-Oct-05 23:51 
Questionrandom number that doesn't repeat? Pin
aaadetos26-Oct-05 4:24
aaadetos26-Oct-05 4:24 
AnswerRe: random number that doesn't repeat? Pin
David Crow26-Oct-05 4:30
David Crow26-Oct-05 4:30 
GeneralRe: random number that doesn't repeat? Pin
John R. Shaw26-Oct-05 15:20
John R. Shaw26-Oct-05 15:20 
AnswerRe: random number that doesn't repeat? Pin
toxcct26-Oct-05 5:03
toxcct26-Oct-05 5:03 
AnswerRe: random number that doesn't repeat? Pin
Joe Woodbury26-Oct-05 6:31
professionalJoe Woodbury26-Oct-05 6:31 
AnswerRe: random number that doesn't repeat? Pin
__yb27-Oct-05 2:18
__yb27-Oct-05 2:18 
QuestionPlease Help with CAsyncSocket Pin
cgb14326-Oct-05 4:17
cgb14326-Oct-05 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.