Click here to Skip to main content
15,925,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Focus Pin
_AnsHUMAN_ 18-Aug-06 21:10
_AnsHUMAN_ 18-Aug-06 21:10 
AnswerRe: Focus Pin
Sarath C18-Aug-06 21:12
Sarath C18-Aug-06 21:12 
AnswerRe: Focus Pin
Hamid_RT22-Aug-06 7:12
Hamid_RT22-Aug-06 7:12 
Questionlibmysql.lib error Pin
Y_Kaushik18-Aug-06 20:59
Y_Kaushik18-Aug-06 20:59 
AnswerRe: libmysql.lib error Pin
Naveen18-Aug-06 21:15
Naveen18-Aug-06 21:15 
AnswerRe: libmysql.lib error Pin
Hamid_RT18-Aug-06 21:45
Hamid_RT18-Aug-06 21:45 
QuestionWhich is better? Pin
HakunaMatada18-Aug-06 20:48
HakunaMatada18-Aug-06 20:48 
AnswerRe: Which is better? Pin
_AnsHUMAN_ 18-Aug-06 21:09
_AnsHUMAN_ 18-Aug-06 21:09 
Hakuna-Matada wrote:
better way of using it..

Hakuna-Matada wrote:

CustomCtrl c ;

static allocation to refer to this memory allocation where all the memory that we need is allocated all at once without the issue of what is the amount of memory that we need at execution time.
Hakuna-Matada wrote:

CustomCtrl* c = new CustomCtrl();

The opposite strategy, dynamic allocation, involves allocating memory on an as-needed basis.
IMHO using dynamic memory is always useful if you know how to deal and avoid the memory leaks etc. issues.






Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: Which is better? Pin
HakunaMatada18-Aug-06 21:29
HakunaMatada18-Aug-06 21:29 
GeneralRe: Which is better? Pin
_AnsHUMAN_ 18-Aug-06 21:41
_AnsHUMAN_ 18-Aug-06 21:41 
GeneralRe: Which is better? Pin
HakunaMatada18-Aug-06 22:24
HakunaMatada18-Aug-06 22:24 
GeneralRe: Which is better? Pin
Tim Smith19-Aug-06 14:13
Tim Smith19-Aug-06 14:13 
AnswerRe: Which is better? Pin
xxrl18-Aug-06 21:27
xxrl18-Aug-06 21:27 
GeneralRe: Which is better? Pin
Naveen18-Aug-06 21:29
Naveen18-Aug-06 21:29 
GeneralRe: Which is better? Pin
Don Fletcher20-Aug-06 23:24
Don Fletcher20-Aug-06 23:24 
GeneralRe: Which is better? Pin
Naveen21-Aug-06 0:58
Naveen21-Aug-06 0:58 
GeneralRe: Which is better? Pin
Tim Smith19-Aug-06 14:10
Tim Smith19-Aug-06 14:10 
AnswerRe: Which is better? Pin
Kevin McFarlane19-Aug-06 9:19
Kevin McFarlane19-Aug-06 9:19 
GeneralRe: Which is better? Pin
HakunaMatada20-Aug-06 18:30
HakunaMatada20-Aug-06 18:30 
AnswerRe: Which is better? Pin
Hamid_RT22-Aug-06 6:59
Hamid_RT22-Aug-06 6:59 
QuestionLinker error Pin
Anu_Bala18-Aug-06 19:54
Anu_Bala18-Aug-06 19:54 
AnswerRe: Linker error Pin
Naveen18-Aug-06 20:00
Naveen18-Aug-06 20:00 
AnswerRe: Linker error Pin
Sarath C18-Aug-06 21:10
Sarath C18-Aug-06 21:10 
QuestionVitual key, VS2005 [modified] solved Pin
NorGUI18-Aug-06 19:42
NorGUI18-Aug-06 19:42 
AnswerRe: Vitual key, VS2005 Pin
Naveen18-Aug-06 19:57
Naveen18-Aug-06 19:57 

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.