Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic buffer allocation Pin
CodingLover4-Nov-07 19:59
CodingLover4-Nov-07 19:59 
GeneralRe: Dynamic buffer allocation Pin
Paresh Chitte4-Nov-07 20:03
Paresh Chitte4-Nov-07 20:03 
GeneralRe: Dynamic buffer allocation Pin
CodingLover4-Nov-07 20:34
CodingLover4-Nov-07 20:34 
GeneralRe: Dynamic buffer allocation Pin
Paresh Chitte4-Nov-07 20:42
Paresh Chitte4-Nov-07 20:42 
GeneralRe: Dynamic buffer allocation Pin
chandu0044-Nov-07 21:10
chandu0044-Nov-07 21:10 
GeneralRe: Dynamic buffer allocation Pin
CodingLover4-Nov-07 21:34
CodingLover4-Nov-07 21:34 
AnswerRe: Dynamic buffer allocation Pin
Nelek4-Nov-07 22:07
protectorNelek4-Nov-07 22:07 
GeneralRe: Dynamic buffer allocation Pin
CodingLover4-Nov-07 22:12
CodingLover4-Nov-07 22:12 
Nelek wrote:
void* pBuffer = NULL;
;
//Get your size into your int
;
pBuffer = new BYTE [intSize];


I have a question here. If I'm correct buffer data type is byte, but in initialization you have use it as void. I'm confusing on it, can you explain it little more.


Nelek wrote:
pBuffer = NULL;


Here, if I use this within a loop I don't want to do this, right?

I appreciate your help all the time...
ErangaSmile | :)

GeneralRe: Dynamic buffer allocation Pin
vijay_aroli4-Nov-07 23:15
vijay_aroli4-Nov-07 23:15 
GeneralRe: Dynamic buffer allocation Pin
CodingLover4-Nov-07 23:31
CodingLover4-Nov-07 23:31 
GeneralRe: Dynamic buffer allocation Pin
Cedric Moonen4-Nov-07 23:44
Cedric Moonen4-Nov-07 23:44 
GeneralRe: Dynamic buffer allocation Pin
CodingLover5-Nov-07 0:02
CodingLover5-Nov-07 0:02 
GeneralRe: Dynamic buffer allocation Pin
David Crow5-Nov-07 3:38
David Crow5-Nov-07 3:38 
GeneralRe: Dynamic buffer allocation Pin
CodingLover5-Nov-07 17:13
CodingLover5-Nov-07 17:13 
GeneralRe: Dynamic buffer allocation Pin
Nelek4-Nov-07 23:43
protectorNelek4-Nov-07 23:43 
GeneralRe: Dynamic buffer allocation Pin
CodingLover5-Nov-07 0:07
CodingLover5-Nov-07 0:07 
GeneralRe: Dynamic buffer allocation Pin
Nelek5-Nov-07 1:03
protectorNelek5-Nov-07 1:03 
GeneralRe: Dynamic buffer allocation Pin
CodingLover5-Nov-07 17:10
CodingLover5-Nov-07 17:10 
QuestionClear History Time Pin
revanth19854-Nov-07 18:22
revanth19854-Nov-07 18:22 
QuestionRe: Clear History Time Pin
Nelek4-Nov-07 22:04
protectorNelek4-Nov-07 22:04 
AnswerRe: Clear History Time Pin
revanth19854-Nov-07 23:03
revanth19854-Nov-07 23:03 
GeneralRe: Clear History Time Pin
Nelek4-Nov-07 23:45
protectorNelek4-Nov-07 23:45 
GeneralRe: Clear History Time Pin
revanth19854-Nov-07 23:57
revanth19854-Nov-07 23:57 
QuestionRe: Clear History Time Pin
David Crow5-Nov-07 3:41
David Crow5-Nov-07 3:41 
AnswerRe: Clear History Time Pin
revanth19855-Nov-07 18:42
revanth19855-Nov-07 18:42 

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.