Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Load IE at system startup??? Pin
parths23-Jun-03 21:11
parths23-Jun-03 21:11 
GeneralRegistry Hives Pin
abhinarulkar23-Jun-03 20:36
abhinarulkar23-Jun-03 20:36 
Generalregular dll Pin
gucy23-Jun-03 20:15
gucy23-Jun-03 20:15 
GeneralControlling Scrollbar in CTreeCtrl Pin
Ph@ntom23-Jun-03 19:31
Ph@ntom23-Jun-03 19:31 
GeneralGetCommandLine Pin
Toni7823-Jun-03 18:38
Toni7823-Jun-03 18:38 
GeneralRe: GetCommandLine Pin
David Crow24-Jun-03 2:59
David Crow24-Jun-03 2:59 
GeneralRe: GetCommandLine Pin
Toni7824-Jun-03 20:18
Toni7824-Jun-03 20:18 
Generalheader and redefine problem Pin
zecodela23-Jun-03 17:47
zecodela23-Jun-03 17:47 
hi all,
i have 2 classes A, B in VC++. they need to refer each others to form a composite relation. so, i include "a.h" in "b.h" and "b.h" in "a.h". however, compiler prompt me redefined. i have found a solution to make a virtual class in each other header like this
// in a.h
class a;
class b
{
// ...
// ...
}

// in b.h
class b;
class a
{
// ...
// ...
}

indeed, i don't sure why it work and it seems not a good solution.
any help or comments?
thanks,
jim
GeneralRe: header and redefine problem Pin
Ryan Binns23-Jun-03 18:12
Ryan Binns23-Jun-03 18:12 
GeneralRe: header and redefine problem Pin
Toni7823-Jun-03 18:20
Toni7823-Jun-03 18:20 
GeneralRe: header and redefine problem Pin
zecodela23-Jun-03 18:52
zecodela23-Jun-03 18:52 
GeneralRe: header and redefine problem Pin
Toni7823-Jun-03 19:19
Toni7823-Jun-03 19:19 
GeneralPreviewing video Pin
weituck23-Jun-03 17:37
weituck23-Jun-03 17:37 
GeneralRe: Previewing video Pin
Andrew Walker23-Jun-03 19:11
Andrew Walker23-Jun-03 19:11 
GeneralShowing differences in strings Pin
Jack Handy23-Jun-03 14:46
Jack Handy23-Jun-03 14:46 
QuestionHow is DSR toggled programmatically? Pin
RuchikaDhingra23-Jun-03 14:16
RuchikaDhingra23-Jun-03 14:16 
AnswerRe: How is DSR toggled programmatically? Pin
Ryan Binns23-Jun-03 16:36
Ryan Binns23-Jun-03 16:36 
GeneralGetting an Access report in a VC++ prog Pin
gnurff23-Jun-03 13:24
sussgnurff23-Jun-03 13:24 
GeneralRe: Getting an Access report in a VC++ prog Pin
basementman24-Jun-03 4:53
basementman24-Jun-03 4:53 
GeneralRe: Getting an Access report in a VC++ prog Pin
Gnurff24-Jun-03 12:35
sussGnurff24-Jun-03 12:35 
GeneralDirectX DrawText breaks W's Pin
Dave Goodman23-Jun-03 13:08
Dave Goodman23-Jun-03 13:08 
GeneralRe: DirectX DrawText breaks W's Pin
ZoogieZork23-Jun-03 16:37
ZoogieZork23-Jun-03 16:37 
GeneralScrollbar Pin
DougW4823-Jun-03 12:29
DougW4823-Jun-03 12:29 
GeneralRe: Scrollbar Pin
Ryan Binns23-Jun-03 13:34
Ryan Binns23-Jun-03 13:34 
QuestionTouch screen tools?? Pin
John P Larson23-Jun-03 12:16
John P Larson23-Jun-03 12:16 

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.