Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need to help in file reading in win32 Pin
amitmistry_petlad 18-Jan-07 1:10
amitmistry_petlad 18-Jan-07 1:10 
GeneralRe: Need to help in file reading in win32 Pin
Roger Stoltz18-Jan-07 2:05
Roger Stoltz18-Jan-07 2:05 
GeneralRe: Need to help in file reading in win32 Pin
amitmistry_petlad 18-Jan-07 16:36
amitmistry_petlad 18-Jan-07 16:36 
GeneralRe: Need to help in file reading in win32 Pin
Roger Stoltz18-Jan-07 21:19
Roger Stoltz18-Jan-07 21:19 
GeneralRe: Need to help in file reading in win32 Pin
amitmistry_petlad 18-Jan-07 0:41
amitmistry_petlad 18-Jan-07 0:41 
Questionheap or stack? Pin
himuskanhere17-Jan-07 23:30
himuskanhere17-Jan-07 23:30 
AnswerRe: heap or stack? Pin
toxcct17-Jan-07 23:46
toxcct17-Jan-07 23:46 
AnswerRe: heap or stack? Pin
Roger Stoltz17-Jan-07 23:51
Roger Stoltz17-Jan-07 23:51 
Both of your variables will be located on the stack. Even the 10 bytes referred to by ch will be located on the stack.

To use the heap you have to allocate memory by calling new in C++ or malloc or similar in C and you always get a pointer in return to be able to refer to the allocated memory.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

AnswerRe: heap or stack? Pin
James R. Twine18-Jan-07 6:08
James R. Twine18-Jan-07 6:08 
GeneralRe: heap or stack? Pin
Mark Salsbery18-Jan-07 6:36
Mark Salsbery18-Jan-07 6:36 
GeneralRe: heap or stack? Pin
James R. Twine18-Jan-07 8:27
James R. Twine18-Jan-07 8:27 
GeneralRe: heap or stack? Pin
Mark Salsbery18-Jan-07 8:41
Mark Salsbery18-Jan-07 8:41 
QuestionKey Events Pin
baerten17-Jan-07 23:24
baerten17-Jan-07 23:24 
AnswerRe: Key Events Pin
malaugh18-Jan-07 7:09
malaugh18-Jan-07 7:09 
GeneralRe: Key Events Pin
baerten18-Jan-07 21:27
baerten18-Jan-07 21:27 
QuestionHow to set the position of the blinking text cursor in a CEdit box. Pin
whatever@whatever.com17-Jan-07 23:12
whatever@whatever.com17-Jan-07 23:12 
AnswerRe: How to set the position of the blinking text cursor in a CEdit box. Pin
prasad_som17-Jan-07 23:19
prasad_som17-Jan-07 23:19 
GeneralRe: How to set the position of the blinking text cursor in a CEdit box. Pin
James R. Twine18-Jan-07 6:10
James R. Twine18-Jan-07 6:10 
GeneralRe: How to set the position of the blinking text cursor in a CEdit box. Pin
whatever@whatever.com18-Jan-07 14:01
whatever@whatever.com18-Jan-07 14:01 
AnswerRe: How to set the position of the blinking text cursor in a CEdit box. Pin
Rajasekharan Vengalil17-Jan-07 23:57
Rajasekharan Vengalil17-Jan-07 23:57 
GeneralRe: How to set the position of the blinking text cursor in a CEdit box. Pin
whatever@whatever.com18-Jan-07 14:00
whatever@whatever.com18-Jan-07 14:00 
AnswerRe: How to set the position of the blinking text cursor in a CEdit box. Pin
James R. Twine18-Jan-07 6:17
James R. Twine18-Jan-07 6:17 
GeneralRe: How to set the position of the blinking text cursor in a CEdit box. Pin
whatever@whatever.com18-Jan-07 14:03
whatever@whatever.com18-Jan-07 14:03 
QuestionA doubt about templates Pin
toxcct17-Jan-07 23:04
toxcct17-Jan-07 23:04 
AnswerRe: A doubt about templates Pin
sunit517-Jan-07 23:26
sunit517-Jan-07 23:26 

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.