Click here to Skip to main content
16,006,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can Create Windows with Different Threads? Pin
Blake Miller12-May-05 11:28
Blake Miller12-May-05 11:28 
GeneralDrawing on top of a CHtmlview Pin
rentzk11-May-05 14:20
rentzk11-May-05 14:20 
GeneralRe: Drawing on top of a CHtmlview Pin
khan++11-May-05 20:29
khan++11-May-05 20:29 
GeneralCode in article here does not compile Pin
xscarsdale11-May-05 13:40
xscarsdale11-May-05 13:40 
GeneralRe: Code in article here does not compile Pin
Christian Graus11-May-05 13:51
protectorChristian Graus11-May-05 13:51 
GeneralRe: Code in article here does not compile Pin
xscarsdale11-May-05 17:41
xscarsdale11-May-05 17:41 
GeneralGood school Pin
tom_dx11-May-05 13:22
tom_dx11-May-05 13:22 
Generalneed help with some template inheritance Pin
ian_the_conqoRooR11-May-05 10:44
ian_the_conqoRooR11-May-05 10:44 
I want to inherit a class which is a template. typename

<br />
template<class E><br />
class Base<br />
{<br />
 xyzfunc(E&);//example<br />
...<br />
};<br />
<br />
//now the derived class should be something like this<br />
<br />
class Deriv : public Base<Base<E>*>//there is the problem <E><br />
{<br />
}<br />


the purpose of class Deriv needs to do basically the same as its baseclass("Base") but only always with different instances of Base<e>

exp:
use:
<br />
Base<int*> a;<br />
int ai=104374;<br />
a.xyzfunc(&ai);<br />
Base<double*> b;<br />
//...like with a<br />
Base<unsigend char*> c;<br />
//...<br />
<br />
Deriv de;<br />
de.xyzfunc(&a);<br />
de.xyzfunc(&b);<br />
de.xyzfunc(&c);//one insance of de but 3 of "E" so ....????????????????<br />
<br />
<br />


I hope anyvody understood what i meant, thx if anybody could help me
Confused | :confused: Confused | :confused: Confused | :confused:

beat up urself pls Big Grin | :-D
GeneralRe: need help with some template inheritance Pin
Maxwell Chen11-May-05 16:52
Maxwell Chen11-May-05 16:52 
GeneralRe: need help with some template inheritance Pin
ian_the_conqoRooR12-May-05 3:06
ian_the_conqoRooR12-May-05 3:06 
GeneralI need help with xp styles Pin
neliocc11-May-05 9:22
neliocc11-May-05 9:22 
GeneralRe: I need help with xp styles Pin
David Crow11-May-05 10:22
David Crow11-May-05 10:22 
GeneralRe: I need help with xp styles Pin
neliocc11-May-05 15:00
neliocc11-May-05 15:00 
GeneralRe: I need help with xp styles Pin
ThatsAlok11-May-05 20:25
ThatsAlok11-May-05 20:25 
GeneralRe: I need help with xp styles Pin
neliocc11-May-05 21:06
neliocc11-May-05 21:06 
GeneralRe: I need help with xp styles Pin
ThatsAlok11-May-05 21:20
ThatsAlok11-May-05 21:20 
GeneralRe: I need help with xp styles Pin
David Crow12-May-05 1:53
David Crow12-May-05 1:53 
Questionhow to get the icon index by a file's extension Pin
NPDemon11-May-05 8:28
NPDemon11-May-05 8:28 
AnswerRe: how to get the icon index by a file's extension Pin
David Crow11-May-05 8:31
David Crow11-May-05 8:31 
GeneralRe: how to get the icon index by a file's extension Pin
NPDemon11-May-05 8:52
NPDemon11-May-05 8:52 
GeneralRe: how to get the icon index by a file's extension Pin
NPDemon11-May-05 8:59
NPDemon11-May-05 8:59 
GeneralToolbar resolution Pin
wrykyn11-May-05 8:23
wrykyn11-May-05 8:23 
GeneralRe: Toolbar resolution Pin
Mohammad Tarik11-May-05 11:57
Mohammad Tarik11-May-05 11:57 
GeneralCan&#180;t use OpenGL inside a thread Pin
arturapps11-May-05 7:37
arturapps11-May-05 7:37 
GeneralRe: Can&#180;t use OpenGL inside a thread Pin
Ryan Binns11-May-05 18:03
Ryan Binns11-May-05 18:03 

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.