Click here to Skip to main content
15,887,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can not print in Landscape Mode Pin
ATC19-Apr-03 11:33
ATC19-Apr-03 11:33 
GeneralRe: Can not print in Landscape Mode Pin
Paolo Messina19-Apr-03 11:55
professionalPaolo Messina19-Apr-03 11:55 
GeneralRe: Can not print in Landscape Mode Pin
ATC19-Apr-03 12:36
ATC19-Apr-03 12:36 
GeneralRe: Can not print in Landscape Mode Pin
Bartosz Bien20-Apr-03 4:41
Bartosz Bien20-Apr-03 4:41 
GeneralRe: Can not print in Landscape Mode Pin
ATC20-Apr-03 5:34
ATC20-Apr-03 5:34 
GeneralRe: With your helps, it works now! Pin
ATC22-Apr-03 9:03
ATC22-Apr-03 9:03 
GeneralSplitterWnd - Moving the bar Pin
Shutter19-Apr-03 5:26
Shutter19-Apr-03 5:26 
GeneralQuestion about const pointer. Pin
George219-Apr-03 4:04
George219-Apr-03 4:04 
Hi, everyone!

When using pointers, we often meet with such troubles,
one problem is the ownership - who (which function)
is responsible for deleting the pointer? Another problem is
there's no standard way that you can tell if a pointer points
to the heap or to the stack. If it's to the heap, then
you can delete it; if it points to the stack, then you'd better
not use delete on the pointer.

I have searched some materials on the problem. One solution others
suggested is using const pointer (for example, int * const). But I do
not understand why it can resolve the trouble. (Other solutions include
smart pointers and reference.)

Can anyone show me an example?


Thanks in advance,
George
GeneralRe: Question about const pointer. Pin
John M. Drescher19-Apr-03 5:01
John M. Drescher19-Apr-03 5:01 
GeneralRe: Question about const pointer. Pin
George219-Apr-03 18:17
George219-Apr-03 18:17 
GeneralRe: Question about const pointer. Pin
Phil Hamer19-Apr-03 16:44
Phil Hamer19-Apr-03 16:44 
GeneralRe: Question about const pointer. Pin
George219-Apr-03 18:19
George219-Apr-03 18:19 
GeneralModeless Dialog to back and taskbar button Pin
Mathias S.19-Apr-03 2:07
Mathias S.19-Apr-03 2:07 
GeneralRe: Modeless Dialog to back and taskbar button Pin
John M. Drescher19-Apr-03 3:46
John M. Drescher19-Apr-03 3:46 
GeneralRe: Modeless Dialog to back and taskbar button Pin
Michael Dunn19-Apr-03 5:19
sitebuilderMichael Dunn19-Apr-03 5:19 
GeneralWorker-Thread in Win32 Application Pin
ZarrinPour19-Apr-03 1:16
ZarrinPour19-Apr-03 1:16 
GeneralRe: Worker-Thread in Win32 Application Pin
Bartosz Bien19-Apr-03 1:32
Bartosz Bien19-Apr-03 1:32 
GeneralRe: Worker-Thread in Win32 Application Pin
Joe Woodbury19-Apr-03 5:28
professionalJoe Woodbury19-Apr-03 5:28 
GeneralRe: Worker-Thread in Win32 Application Pin
Bartosz Bien19-Apr-03 5:36
Bartosz Bien19-Apr-03 5:36 
QuestionHow To Close All Documents in MDI Pin
Vikrant Vikrant19-Apr-03 1:14
Vikrant Vikrant19-Apr-03 1:14 
AnswerRe: How To Close All Documents in MDI Pin
Bartosz Bien19-Apr-03 1:28
Bartosz Bien19-Apr-03 1:28 
GeneralExplicit Linking problem Pin
Cyberizen19-Apr-03 1:02
Cyberizen19-Apr-03 1:02 
GeneralRe: Explicit Linking problem Pin
Gary R. Wheeler19-Apr-03 3:08
Gary R. Wheeler19-Apr-03 3:08 
Generalpragma once Pin
John-theKing18-Apr-03 23:14
John-theKing18-Apr-03 23:14 
GeneralRe: pragma once Pin
Taka Muraoka18-Apr-03 23:19
Taka Muraoka18-Apr-03 23:19 

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.