Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmalloc size Pin
skatzteyp31-Oct-07 16:00
skatzteyp31-Oct-07 16:00 
AnswerRe: malloc size Pin
Llasus31-Oct-07 17:56
Llasus31-Oct-07 17:56 
GeneralRe: malloc size Pin
skatzteyp31-Oct-07 18:26
skatzteyp31-Oct-07 18:26 
GeneralRe: malloc size Pin
Llasus31-Oct-07 18:49
Llasus31-Oct-07 18:49 
GeneralRe: malloc size Pin
skatzteyp31-Oct-07 18:57
skatzteyp31-Oct-07 18:57 
GeneralRe: malloc size Pin
Roger Broomfield31-Oct-07 19:06
Roger Broomfield31-Oct-07 19:06 
AnswerRe: malloc size Pin
John R. Shaw31-Oct-07 23:12
John R. Shaw31-Oct-07 23:12 
AnswerRe: malloc size Pin
David Crow1-Nov-07 3:28
David Crow1-Nov-07 3:28 
skatzteyp wrote:
meaning i get to have an array size of 5+ billion bytes which obviously cannot be contained on an unsigned int variable


You are limited to a theoretical limit of 2GB. Given everything else that needs to fit inside of that address space, you'd be hard pressed to find 1GB of contiguous memory for allocation purposes.


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionVisual Studio 2005 Beta 2 Pin
Larry Mills Sr31-Oct-07 12:43
Larry Mills Sr31-Oct-07 12:43 
AnswerRe: Visual Studio 2005 Beta 2 Pin
Llasus31-Oct-07 18:00
Llasus31-Oct-07 18:00 
AnswerRe: Visual Studio 2005 Beta 2 Pin
Mark Salsbery1-Nov-07 6:52
Mark Salsbery1-Nov-07 6:52 
GeneralRe: Visual Studio 2005 Beta 2 Pin
Larry Mills Sr1-Nov-07 10:52
Larry Mills Sr1-Nov-07 10:52 
GeneralRe: Visual Studio 2005 Beta 2 Pin
Mark Salsbery1-Nov-07 11:11
Mark Salsbery1-Nov-07 11:11 
AnswerRe: Visual Studio 2005 Beta 2 Pin
jp-mocs1-Nov-07 7:20
jp-mocs1-Nov-07 7:20 
GeneralRe: Visual Studio 2005 Beta 2 Pin
Larry Mills Sr1-Nov-07 8:12
Larry Mills Sr1-Nov-07 8:12 
QuestionCreating a email server [modified] Pin
bigdenny20031-Oct-07 12:24
bigdenny20031-Oct-07 12:24 
QuestionUsage of bind() Pin
dellthinker31-Oct-07 10:17
dellthinker31-Oct-07 10:17 
AnswerRe: Usage of bind() Pin
JudyL_MD31-Oct-07 10:28
JudyL_MD31-Oct-07 10:28 
AnswerRe: Usage of bind() Pin
Mark Salsbery31-Oct-07 10:43
Mark Salsbery31-Oct-07 10:43 
GeneralRe: Usage of bind() Pin
JudyL_MD1-Nov-07 2:50
JudyL_MD1-Nov-07 2:50 
QuestionHow to use this template with varying sizes? [modified] Pin
Devinder31-Oct-07 9:44
Devinder31-Oct-07 9:44 
AnswerRe: How to use this template with varying sizes? Pin
Stephen Hewitt31-Oct-07 19:45
Stephen Hewitt31-Oct-07 19:45 
AnswerRe: How to use this template with varying sizes? Pin
John R. Shaw31-Oct-07 23:48
John R. Shaw31-Oct-07 23:48 
AnswerRe: How to use this template with varying sizes? Pin
Stephen Hewitt1-Nov-07 17:50
Stephen Hewitt1-Nov-07 17:50 
QuestionOnPrint with MFC Pin
mnnca31-Oct-07 7:08
mnnca31-Oct-07 7:08 

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.