Click here to Skip to main content
15,880,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy the hell won't this function work? Pin
Lord Kixdemp26-Jan-06 15:43
Lord Kixdemp26-Jan-06 15:43 
AnswerRe: Why the hell won't this function work? Pin
Stephen Hewitt26-Jan-06 16:06
Stephen Hewitt26-Jan-06 16:06 
AnswerRe: Why the hell won't this function work? Pin
Christian Graus26-Jan-06 16:18
protectorChristian Graus26-Jan-06 16:18 
GeneralRe: Why the hell won't this function work? Pin
Stephen Hewitt26-Jan-06 16:25
Stephen Hewitt26-Jan-06 16:25 
AnswerRe: Why the hell won't this function work? Pin
Stephen Hewitt26-Jan-06 16:37
Stephen Hewitt26-Jan-06 16:37 
AnswerRe: Why the hell won't this function work? Pin
David Crow27-Jan-06 3:21
David Crow27-Jan-06 3:21 
GeneralRe: Why the hell won't this function work? Pin
Lord Kixdemp27-Jan-06 11:12
Lord Kixdemp27-Jan-06 11:12 
GeneralRe: Why the hell won't this function work? Pin
Lord Kixdemp27-Jan-06 13:20
Lord Kixdemp27-Jan-06 13:20 
Actually... the problem's right here:

this->mapLayers = (char**)new char[3][(WIDTH/32)*(HEIGHT/32)];

I tried this:

this->mapLayers[1][3] = 'v';

I put a SDL_Delay(5000); before it, it delayed for 5 seconds, and then crashed. I put it after it, and it crashed immediately. What could be wrong with that declaration? Frown | :-(

Thanks! Wink | ;-)

Lord Kixdemp
www.SulfurMidis.com
www.SulfurSoft.tk
[ftp://][http://][hotline://]tsfc.ath.cx
QuestionHow to get screen size in millimeters or inches? Pin
includeh1026-Jan-06 15:22
includeh1026-Jan-06 15:22 
AnswerRe: How to get screen size in millimeters or inches? Pin
Stephen Hewitt26-Jan-06 15:28
Stephen Hewitt26-Jan-06 15:28 
GeneralRe: How to get screen size in millimeters or inches? Pin
includeh1026-Jan-06 16:04
includeh1026-Jan-06 16:04 
GeneralRe: How to get screen size in millimeters or inches? Pin
Stephen Hewitt26-Jan-06 16:26
Stephen Hewitt26-Jan-06 16:26 
GeneralRe: How to get screen size in millimeters or inches? Pin
includeh1026-Jan-06 17:08
includeh1026-Jan-06 17:08 
GeneralRe: How to get screen size in millimeters or inches? Pin
Stephen Hewitt26-Jan-06 17:46
Stephen Hewitt26-Jan-06 17:46 
GeneralRe: How to get screen size in millimeters or inches? Pin
includeh1026-Jan-06 18:54
includeh1026-Jan-06 18:54 
QuestionRe: How to get screen size in millimeters or inches? Pin
David Crow27-Jan-06 3:34
David Crow27-Jan-06 3:34 
AnswerRe: How to get screen size in millimeters or inches? Pin
includeh1027-Jan-06 14:59
includeh1027-Jan-06 14:59 
QuestionWM_NCPAINT minimize/restore Pin
picazo26-Jan-06 13:00
picazo26-Jan-06 13:00 
AnswerRe: WM_NCPAINT minimize/restore Pin
includeh1026-Jan-06 15:35
includeh1026-Jan-06 15:35 
GeneralRe: WM_NCPAINT minimize/restore Pin
picazo26-Jan-06 18:17
picazo26-Jan-06 18:17 
GeneralRe: WM_NCPAINT minimize/restore Pin
includeh1026-Jan-06 21:05
includeh1026-Jan-06 21:05 
QuestionDialog Full Screen Pin
JBAK_CP26-Jan-06 11:51
JBAK_CP26-Jan-06 11:51 
AnswerRe: Dialog Full Screen Pin
Stephen Hewitt26-Jan-06 13:01
Stephen Hewitt26-Jan-06 13:01 
GeneralRe: Dialog Full Screen Pin
JBAK_CP26-Jan-06 13:26
JBAK_CP26-Jan-06 13:26 
QuestionIP Header Pin
Mohammad A Gdeisat26-Jan-06 11:44
Mohammad A Gdeisat26-Jan-06 11:44 

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.