Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to assign this value to y? Pin
ThatsAlok5-Mar-08 0:59
ThatsAlok5-Mar-08 0:59 
AnswerRe: how to assign this value to y? Pin
uusheikh4-Mar-08 20:44
uusheikh4-Mar-08 20:44 
AnswerRe: how to assign this value to y? Pin
David Crow5-Mar-08 3:55
David Crow5-Mar-08 3:55 
QuestionHow to identify the code of login page? Pin
chinakknd4-Mar-08 17:38
chinakknd4-Mar-08 17:38 
AnswerRe: How to identify the code of login page? Pin
Christian Graus4-Mar-08 19:10
protectorChristian Graus4-Mar-08 19:10 
GeneralCHttpFile::EndRequest Fails Pin
yaminisridaran4-Mar-08 16:36
yaminisridaran4-Mar-08 16:36 
Generalreallocation Pin
George_George4-Mar-08 16:16
George_George4-Mar-08 16:16 
GeneralRe: reallocation Pin
Luc Pattyn6-Mar-08 7:09
sitebuilderLuc Pattyn6-Mar-08 7:09 
Hi George,

reallocation to me means:
1. performing a new allocation (at a new address)
2. copying the existing data to it
3. returning the new address

It is used to change the size of some data structure (e.g. an array) without loosing its
content, typically when you want to add data but can't without all the steps involved,
since the existing allocation isn't large enough. Occasionally it is also used to reduce
size (when the original allocation was way too large, typically because requirements
initially unknown).

You could have a look at the realloc() function in C.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: reallocation Pin
George_George6-Mar-08 13:55
George_George6-Mar-08 13:55 
General[GDI+] Font contructing problem Pin
followait4-Mar-08 15:46
followait4-Mar-08 15:46 
GeneralRe: [GDI+] Font contructing problem Pin
Mark Salsbery4-Mar-08 16:10
Mark Salsbery4-Mar-08 16:10 
GeneralPrison? it might be a disaster Pin
sold_out4-Mar-08 15:38
sold_out4-Mar-08 15:38 
GeneralRe: Prison? it might be a disaster Pin
Mark Salsbery4-Mar-08 15:45
Mark Salsbery4-Mar-08 15:45 
GeneralRe: Prison? it might be a disaster Pin
sold_out4-Mar-08 15:49
sold_out4-Mar-08 15:49 
GeneralRe: Prison? it might be a disaster Pin
Mark Salsbery4-Mar-08 15:53
Mark Salsbery4-Mar-08 15:53 
GeneralRe: Prison? it might be a disaster Pin
sold_out4-Mar-08 15:58
sold_out4-Mar-08 15:58 
GeneralRe: Prison? it might be a disaster Pin
Mark Salsbery4-Mar-08 16:17
Mark Salsbery4-Mar-08 16:17 
GeneralRe: Prison? it might be a disaster Pin
sold_out4-Mar-08 16:23
sold_out4-Mar-08 16:23 
GeneralRe: Prison? it might be a disaster Pin
ThatsAlok4-Mar-08 20:35
ThatsAlok4-Mar-08 20:35 
GeneralRe: Prison? it might be a disaster Pin
ThatsAlok4-Mar-08 20:32
ThatsAlok4-Mar-08 20:32 
GeneralRe: Prison? it might be a disaster Pin
Pete O'Hanlon5-Mar-08 22:26
mvePete O'Hanlon5-Mar-08 22:26 
GeneralRe: Prison? it might be a disaster Pin
Christian Graus5-Mar-08 14:58
protectorChristian Graus5-Mar-08 14:58 
Generaldependent names Pin
George_George4-Mar-08 15:27
George_George4-Mar-08 15:27 
GeneralRe: dependent names Pin
Maxwell Chen4-Mar-08 19:55
Maxwell Chen4-Mar-08 19:55 
GeneralRe: dependent names Pin
George_George4-Mar-08 22:31
George_George4-Mar-08 22:31 

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.