Click here to Skip to main content
15,894,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMainFrame's members Pin
hcmuns29-May-05 23:18
susshcmuns29-May-05 23:18 
Questionhow to crop an image in an application based on dialog? Pin
qqworm29-May-05 20:38
qqworm29-May-05 20:38 
AnswerRe: how to crop an image in an application based on dialog? Pin
toxcct29-May-05 23:59
toxcct29-May-05 23:59 
GeneralRe: how to crop an image in an application based on dialog? Pin
qqworm30-May-05 1:53
qqworm30-May-05 1:53 
General:confused: Pin
namaskaaram29-May-05 20:27
namaskaaram29-May-05 20:27 
GeneralRe: :confused: Pin
patnsnaudy29-May-05 20:49
patnsnaudy29-May-05 20:49 
GeneralRe: :confused: Pin
S. Senthil Kumar29-May-05 20:53
S. Senthil Kumar29-May-05 20:53 
GeneralRe: :confused: Pin
namaskaaram29-May-05 21:45
namaskaaram29-May-05 21:45 
Just make sure that you don't reference any member variables after you call delete this;
yes.....does that go with all the variables in that AFTER the 'delete this' in that function/class or does that go with ALL THE VARIABLES after the 'delete this' even for other classes and functions of the the program?Confused | :confused:


by the way,the first question is not how the new /delete operators work(that was just to quote!),i guess i didnt make that clear enough.....
what i meant is that:
if i need to create an instance,be it dynamic/static,where does it actaually reside before it is called/created?
that is.....say for example.....
class xyz
{
int a;
}

void main()
{
.....
.....
.....
if(some condition becomes true only the do the following loop)
{
xyz r;
}//end of if
}//end of main......

if the above condition becomes true, only then the variable is created!if not(since static)does the compiler anyway allocate the space in the stack even before checking the condition?coz if it doesnt,doesnt that mean itz almost equivalent to saying that it is dynamically creating the object(though the object isnt created dynamicaly)!

what i mean is ,where is the class actually stored?is it along with the code?


ps:dumb doubtz though.....but i would like em cleared!







"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
QuestionHow to record voice using DirectSound..? Pin
mpallavi29-May-05 20:24
mpallavi29-May-05 20:24 
AnswerRe: How to record voice using DirectSound..? Pin
Flit31-May-05 2:55
Flit31-May-05 2:55 
GeneralMouse Move for Main Frame Pin
laiju29-May-05 20:02
laiju29-May-05 20:02 
GeneralRe: Mouse Move for Main Frame Pin
Blake Miller31-May-05 6:19
Blake Miller31-May-05 6:19 
GeneralCall Windows Dial up thr C# or VC++ Pin
ksanju100029-May-05 19:11
ksanju100029-May-05 19:11 
GeneralRe: Call Windows Dial up thr C# or VC++ Pin
ThatsAlok29-May-05 19:28
ThatsAlok29-May-05 19:28 
QuestionProtect a folder? Pin
Priyank Bolia29-May-05 18:43
Priyank Bolia29-May-05 18:43 
AnswerRe: Protect a folder? Pin
Ryan Binns29-May-05 18:47
Ryan Binns29-May-05 18:47 
GeneralRe: Protect a folder? Pin
Priyank Bolia29-May-05 19:09
Priyank Bolia29-May-05 19:09 
GeneralRe: Protect a folder? Pin
toxcct29-May-05 20:13
toxcct29-May-05 20:13 
GeneralRe: Protect a folder? Pin
Priyank Bolia29-May-05 22:23
Priyank Bolia29-May-05 22:23 
GeneralRe: Protect a folder? Pin
toxcct29-May-05 22:29
toxcct29-May-05 22:29 
GeneralOnActivateView Not Invoked Pin
laiju29-May-05 18:20
laiju29-May-05 18:20 
Generalimage and wav Pin
Anonymous29-May-05 17:29
Anonymous29-May-05 17:29 
GeneralRe: image and wav Pin
Christian Graus29-May-05 17:36
protectorChristian Graus29-May-05 17:36 
GeneralModifying date Pin
Weiye Chen29-May-05 15:03
Weiye Chen29-May-05 15:03 
GeneralRe: Modifying date Pin
Toni7829-May-05 16:05
Toni7829-May-05 16:05 

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.