Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Arrow Keys Pin
David Crow30-Sep-04 5:50
David Crow30-Sep-04 5:50 
QuestionWhich memory allocator to use? Pin
George Ionescu29-Sep-04 20:30
George Ionescu29-Sep-04 20:30 
AnswerRe: Which memory allocator to use? Pin
cmk29-Sep-04 21:52
cmk29-Sep-04 21:52 
AnswerRe: Which memory allocator to use? Pin
David Crow30-Sep-04 5:54
David Crow30-Sep-04 5:54 
Generalwarning C4652 Pin
mithuna29-Sep-04 20:12
mithuna29-Sep-04 20:12 
GeneralRe: warning C4652 Pin
Antony M Kancidrowski30-Sep-04 2:10
Antony M Kancidrowski30-Sep-04 2:10 
GeneralRe: warning C4652 Pin
22491730-Sep-04 2:41
22491730-Sep-04 2:41 
GeneralVC++ Class Structures Pin
novicedude29-Sep-04 20:00
novicedude29-Sep-04 20:00 
Hi,
I am developing a client server application with vc++.
I have the following 3 main classes

* PayrollDlg - This is the main dialog box
* WageDlg - This dialog box is accessible thru PayrollDlg
* AbsSocket - This class manages the networking aspect i.e creating a socket & sending , receiving data.

Now i need to create an object os AbsSocket that can be accessed from both PayrollDlg as well as WageDlg. Where do i declare this object to achieve this. If i declare the AbsSocket object in either PayrollDlg or WageDlg classes it becomes local to that class. What i actually want to know is where is the main() function as if i declare the AbsSocket object in this main it can be accessed anywhere right?

GeneralRe: VC++ Class Structures Pin
Monty229-Sep-04 20:16
Monty229-Sep-04 20:16 
GeneralRe: VC++ Class Structures Pin
David Crow30-Sep-04 5:56
David Crow30-Sep-04 5:56 
Generalchanging user drawn bitmap button Pin
Dimenser29-Sep-04 17:55
Dimenser29-Sep-04 17:55 
GeneralRe: changing user drawn bitmap button Pin
V.29-Sep-04 22:38
professionalV.29-Sep-04 22:38 
GeneralLNK2005, Plz help.. Pin
enoloo_don29-Sep-04 17:38
enoloo_don29-Sep-04 17:38 
GeneralRe: LNK2005, Plz help.. Pin
22491729-Sep-04 18:19
22491729-Sep-04 18:19 
GeneralRe: LNK2005, Plz help.. Pin
postamt30-Sep-04 3:02
postamt30-Sep-04 3:02 
Generalfuzzy logic n other stuff Pin
styx1300129-Sep-04 16:51
styx1300129-Sep-04 16:51 
GeneralAdding C++ console application classes to a VC++ MFCAppwizard project Pin
neo_sid29-Sep-04 16:11
neo_sid29-Sep-04 16:11 
GeneralRe: Adding C++ console application classes to a VC++ MFCAppwizard project Pin
Christian Graus29-Sep-04 16:49
protectorChristian Graus29-Sep-04 16:49 
QuestionHow to initialize const of base class Pin
Boniolopez29-Sep-04 15:29
Boniolopez29-Sep-04 15:29 
AnswerRe: How to initialize const of base class Pin
Ryan Binns29-Sep-04 18:11
Ryan Binns29-Sep-04 18:11 
GeneralRe: How to initialize const of base class Pin
Boniolopez29-Sep-04 22:22
Boniolopez29-Sep-04 22:22 
GeneralRe: How to initialize const of base class Pin
Ryan Binns30-Sep-04 0:54
Ryan Binns30-Sep-04 0:54 
AnswerRe: How to initialize const of base class Pin
Alan Chambers30-Sep-04 1:14
Alan Chambers30-Sep-04 1:14 
GeneralRe: How to initialize const of base class Pin
Boniolopez30-Sep-04 5:26
Boniolopez30-Sep-04 5:26 
GeneralRe: How to initialize const of base class Pin
22491730-Sep-04 18:21
22491730-Sep-04 18:21 

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.