Click here to Skip to main content
16,005,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread - Process synchronization Pin
Alexander M.,19-May-05 4:19
Alexander M.,19-May-05 4:19 
GeneralRe: Thread - Process synchronization Pin
Blake Miller19-May-05 5:22
Blake Miller19-May-05 5:22 
GeneralProblems with std::map Pin
ChemmieBro19-May-05 2:31
ChemmieBro19-May-05 2:31 
GeneralRe: Problems with std::map Pin
Joaquín M López Muñoz19-May-05 3:08
Joaquín M López Muñoz19-May-05 3:08 
GeneralRe: Problems with std::map Pin
ChemmieBro19-May-05 3:27
ChemmieBro19-May-05 3:27 
GeneralRe: Problems with std::map Pin
Joaquín M López Muñoz19-May-05 3:34
Joaquín M López Muñoz19-May-05 3:34 
GeneralRe: Problems with std::map Pin
ChemmieBro19-May-05 4:13
ChemmieBro19-May-05 4:13 
Generalvirtual inheritance Pin
SimpleProgramer19-May-05 2:27
SimpleProgramer19-May-05 2:27 
The following code works gives the b::B no appropriate default constructor err

while it works out fine without the virtual code words.

Can someone explain it/ how to make it pass compilation?

class B
{
public:
B(int a) {printf("BBB%d\n",a);}
};

class D : public virtual B
{
public:
D(int a):B(a) {printf ("DDD%d\n",a);};
};

class DD : public virtual D
{
DD(int a)Big Grin | :-D (a) {printf ("DDD2%d\n",a);};
};

int _tmain(int argc, _TCHAR* argv[])
{
D d(3);
return 0;
}

Keep it simple
GeneralRe: virtual inheritance Pin
Joaquín M López Muñoz19-May-05 2:56
Joaquín M López Muñoz19-May-05 2:56 
Questionhow to copy and paste a nonregular area of an image Pin
Anonymous19-May-05 1:19
Anonymous19-May-05 1:19 
AnswerRe: how to copy and paste a nonregular area of an image Pin
Chris Losinger19-May-05 3:50
professionalChris Losinger19-May-05 3:50 
Generalfile type associations Pin
gx4419-May-05 0:58
gx4419-May-05 0:58 
GeneralRe: file type associations Pin
Joel Holdsworth19-May-05 1:11
Joel Holdsworth19-May-05 1:11 
QuestionCross Network communication using Winsock2? Pin
arrya_amit19-May-05 0:39
arrya_amit19-May-05 0:39 
AnswerRe: Cross Network communication using Winsock2? Pin
ThatsAlok19-May-05 1:44
ThatsAlok19-May-05 1:44 
Generalsimple installer Pin
dave2k19-May-05 0:16
dave2k19-May-05 0:16 
GeneralRe: simple installer Pin
Jack Puppy19-May-05 0:19
Jack Puppy19-May-05 0:19 
GeneralDAO and ADO in same project Pin
MK7818-May-05 22:47
MK7818-May-05 22:47 
GeneralRe: DAO and ADO in same project Pin
RChin18-May-05 23:49
RChin18-May-05 23:49 
GeneralRe: DAO and ADO in same project Pin
MK7818-May-05 23:59
MK7818-May-05 23:59 
GeneralRe: DAO and ADO in same project Pin
RChin19-May-05 0:22
RChin19-May-05 0:22 
GeneralRe: DAO and ADO in same project Pin
MK7819-May-05 1:47
MK7819-May-05 1:47 
GeneralProblems with a dll Pin
JaVinci18-May-05 22:27
JaVinci18-May-05 22:27 
GeneralRe: Problems with a dll Pin
GDavy19-May-05 0:00
GDavy19-May-05 0:00 
GeneralRe: Problems with a dll Pin
JaVinci19-May-05 3:50
JaVinci19-May-05 3:50 

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.