Click here to Skip to main content
16,011,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMy documents directory Pin
jerry0davis20-Jun-01 3:37
jerry0davis20-Jun-01 3:37 
GeneralRe: My documents directory Pin
Matt Gullett20-Jun-01 3:44
Matt Gullett20-Jun-01 3:44 
GeneralRe: My documents directory Pin
jerry0davis20-Jun-01 3:48
jerry0davis20-Jun-01 3:48 
QuestionGetWindowLong????? Pin
20-Jun-01 3:00
suss20-Jun-01 3:00 
Generalsimple array question Pin
20-Jun-01 2:44
suss20-Jun-01 2:44 
GeneralRe: simple array question Pin
20-Jun-01 3:22
suss20-Jun-01 3:22 
GeneralRe: simple array question Pin
20-Jun-01 3:31
suss20-Jun-01 3:31 
GeneralRe: simple array question Pin
20-Jun-01 17:46
suss20-Jun-01 17:46 
VC++ doesn't bother if it is an address pointing to start of an array or not. It knows that x is a pointer to double and size off double is 8 bytes. So, if u increment or decrement the pointer, the address will be recuced as multiple of 8 (for double).

But there is a chance of exception in the case of x[-1], since the location x-1 is not reserved for x and that location may not be free. Blush | :O
GeneralMDI and WS_MAXIMIZE,, Please Pin
mr200320-Jun-01 2:29
mr200320-Jun-01 2:29 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
20-Jun-01 3:06
suss20-Jun-01 3:06 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
mr200320-Jun-01 3:16
mr200320-Jun-01 3:16 
GeneralRe: MDI and WS_MAXIMIZE,, Please Pin
20-Jun-01 4:09
suss20-Jun-01 4:09 
GeneralVirtual Functions Pin
20-Jun-01 1:35
suss20-Jun-01 1:35 
GeneralRe: Virtual Functions Pin
Matt Gullett20-Jun-01 2:22
Matt Gullett20-Jun-01 2:22 
GeneralRe: Virtual Functions Pin
20-Jun-01 4:35
suss20-Jun-01 4:35 
GeneralHitTest on a CListCtrl Pin
sankar20-Jun-01 0:12
sankar20-Jun-01 0:12 
GeneralRe: HitTest on a CListCtrl Pin
Michael Dunn20-Jun-01 6:29
sitebuilderMichael Dunn20-Jun-01 6:29 
GeneralADO - what am i doing wrong?!! Pin
20-Jun-01 0:08
suss20-Jun-01 0:08 
GeneralRe: ADO - what am i doing wrong?!! Pin
Matt Gullett20-Jun-01 2:24
Matt Gullett20-Jun-01 2:24 
QuestionSerialize() or XML? Pin
Peter Robinson19-Jun-01 22:39
Peter Robinson19-Jun-01 22:39 
GeneralMFC42UD.DLL can't start... Pin
zia_asghar19-Jun-01 22:12
zia_asghar19-Jun-01 22:12 
GeneralRe: MFC42UD.DLL can't start... Pin
Christian Graus20-Jun-01 0:27
protectorChristian Graus20-Jun-01 0:27 
GeneralReturning collection class Pin
parag19-Jun-01 20:31
parag19-Jun-01 20:31 
GeneralRe: Returning collection class Pin
markkuk19-Jun-01 22:50
markkuk19-Jun-01 22:50 
GeneralRe: Returning collection class Pin
Tomasz Sowinski19-Jun-01 22:55
Tomasz Sowinski19-Jun-01 22:55 

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.