Click here to Skip to main content
15,926,857 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A book or tutorial to help beginner... Pin
Toni781-Jul-03 18:36
Toni781-Jul-03 18:36 
GeneralRe: A book or tutorial to help beginner... Pin
code-frog1-Jul-03 18:41
professionalcode-frog1-Jul-03 18:41 
GeneralRe: A book or tutorial to help beginner... Pin
Toni781-Jul-03 19:27
Toni781-Jul-03 19:27 
GeneralRe: A book or tutorial to help beginner... Pin
Jon Sagara1-Jul-03 21:50
Jon Sagara1-Jul-03 21:50 
Generalhtml in a dialog Pin
pranavamhari1-Jul-03 16:47
pranavamhari1-Jul-03 16:47 
GeneralRe: html in a dialog Pin
Scozturk1-Jul-03 20:11
professionalScozturk1-Jul-03 20:11 
GeneralRe: html in a dialog Pin
Joan M1-Jul-03 22:00
professionalJoan M1-Jul-03 22:00 
GeneralVS 6 IDE forgot what F1 does Pin
Chris Losinger1-Jul-03 16:41
professionalChris Losinger1-Jul-03 16:41 
GeneralRe: VS 6 IDE forgot what F1 does Pin
code-frog1-Jul-03 18:00
professionalcode-frog1-Jul-03 18:00 
QuestionHow do i switch between two Dialogs Pin
Member 4048131-Jul-03 16:33
Member 4048131-Jul-03 16:33 
AnswerRe: How do i switch between two Dialogs Pin
Toni781-Jul-03 18:30
Toni781-Jul-03 18:30 
GeneralHeap Class Pin
Ken Mazaika1-Jul-03 15:56
Ken Mazaika1-Jul-03 15:56 
GeneralRe: Heap Class Pin
Dave Bryant1-Jul-03 16:13
Dave Bryant1-Jul-03 16:13 
GeneralRe: Heap Class Pin
Ken Mazaika1-Jul-03 16:25
Ken Mazaika1-Jul-03 16:25 
GeneralRe: Heap Class Pin
Dave Bryant1-Jul-03 16:27
Dave Bryant1-Jul-03 16:27 
GeneralRe: Heap Class Pin
Ken Mazaika1-Jul-03 16:39
Ken Mazaika1-Jul-03 16:39 
GeneralRe: Heap Class Pin
Ryan Binns1-Jul-03 16:41
Ryan Binns1-Jul-03 16:41 
kmaz wrote:
I get memory errors

Nope. You won't get memory errors. The compiler will tell you you can't access them. The reason is because they are private members. The default access for members in a class is private, unless you specify public or protected access.
class CFoo
{
public:
   int foo;
   int bar;
   int baz;
};
CFoo *pFoo = new CFoo;
pFoo->foo = 1;
pFoo->bar = 2;
This should work just fine.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

QuestionHow to cover a video window by a transparent bitmap Pin
Chen Jiadong1-Jul-03 15:05
Chen Jiadong1-Jul-03 15:05 
Generalslider update problem. Pin
irvine1-Jul-03 15:03
irvine1-Jul-03 15:03 
Generaldelete operation Pin
act_x1-Jul-03 12:00
act_x1-Jul-03 12:00 
GeneralRe: delete operation Pin
Dave Bryant1-Jul-03 12:38
Dave Bryant1-Jul-03 12:38 
GeneralWin2000 MFC problem *LONG* Pin
djordj1-Jul-03 11:27
djordj1-Jul-03 11:27 
GeneralRe: Win2000 MFC problem *LONG* Pin
Toni781-Jul-03 19:50
Toni781-Jul-03 19:50 
QuestionHow to scroll a toolbar? Pin
ElizabethC1-Jul-03 11:14
ElizabethC1-Jul-03 11:14 
AnswerRe: How to scroll a toolbar? Pin
Michael Dunn1-Jul-03 12:55
sitebuilderMichael Dunn1-Jul-03 12:55 

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.