Click here to Skip to main content
15,878,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OOPS Pin
Michael Schubert24-Oct-09 5:34
Michael Schubert24-Oct-09 5:34 
AnswerRe: OOPS Pin
Nuri Ismail24-Oct-09 5:37
Nuri Ismail24-Oct-09 5:37 
AnswerRe: OOPS Pin
«_Superman_»24-Oct-09 10:04
professional«_Superman_»24-Oct-09 10:04 
AnswerRe: OOPS Pin
CPallini24-Oct-09 10:30
mveCPallini24-Oct-09 10:30 
QuestionMoving mouse over the buttons. Pin
Nikz224-Oct-09 5:02
Nikz224-Oct-09 5:02 
QuestionRe: Moving mouse over the buttons. Pin
«_Superman_»24-Oct-09 9:36
professional«_Superman_»24-Oct-09 9:36 
AnswerRe: Moving mouse over the buttons. Pin
Nikz224-Oct-09 13:09
Nikz224-Oct-09 13:09 
QuestionC++ templates Pin
cpp_fanatic24-Oct-09 3:34
cpp_fanatic24-Oct-09 3:34 
I have class A and class B:
template<typename T>
struct A
{
    T data;
    ...
};

template<typename T>
struct B
{
    T data;
    ...
};


I can do the following:
B<A<int> > b1;
B<A<MyOtherType> > b2;


But, these lines are so ugly and I want to make special type. I want to have something like this:
myBA<int> b1;
myBA<MyOtherType> b2;


How I can do it ?
or where I can read about templates like these ?
AnswerRe: C++ templates Pin
cmk24-Oct-09 5:14
cmk24-Oct-09 5:14 
GeneralRe: C++ templates Pin
cpp_fanatic24-Oct-09 5:25
cpp_fanatic24-Oct-09 5:25 
GeneralRe: C++ templates Pin
cmk24-Oct-09 6:28
cmk24-Oct-09 6:28 
GeneralRe: C++ templates Pin
cpp_fanatic24-Oct-09 8:51
cpp_fanatic24-Oct-09 8:51 
QuestionRe: C++ templates Pin
amatecki24-Oct-09 5:14
professionalamatecki24-Oct-09 5:14 
AnswerRe: C++ templates Pin
«_Superman_»24-Oct-09 10:15
professional«_Superman_»24-Oct-09 10:15 
QuestionPls help me...tten Pin
chopoe24-Oct-09 2:12
chopoe24-Oct-09 2:12 
AnswerRe: Pls help me...tten Pin
Maximilien24-Oct-09 3:28
Maximilien24-Oct-09 3:28 
Questionhow to read contacts properties in rtf file Pin
santhosh-padamatinti23-Oct-09 21:00
santhosh-padamatinti23-Oct-09 21:00 
AnswerRe: how to read contacts properties in rtf file Pin
Richard MacCutchan23-Oct-09 21:29
mveRichard MacCutchan23-Oct-09 21:29 
GeneralRe: how to read contacts properties in rtf file Pin
santhosh-padamatinti23-Oct-09 21:37
santhosh-padamatinti23-Oct-09 21:37 
AnswerRe: how to read contacts properties in rtf file Pin
Rajesh R Subramanian23-Oct-09 23:17
professionalRajesh R Subramanian23-Oct-09 23:17 
QuestionConvert 24 bit to 16 bit bmp Pin
Game-point23-Oct-09 18:43
Game-point23-Oct-09 18:43 
QuestionRe: Convert 24 bit to 16 bit bmp Pin
CPallini23-Oct-09 23:49
mveCPallini23-Oct-09 23:49 
AnswerRe: Convert 24 bit to 16 bit bmp Pin
Game-point25-Oct-09 17:48
Game-point25-Oct-09 17:48 
GeneralRe: Convert 24 bit to 16 bit bmp Pin
CPallini26-Oct-09 1:04
mveCPallini26-Oct-09 1:04 
QuestionHow to Wipe/clean a disk securily Pin
Shiv Murti Pal23-Oct-09 18:40
Shiv Murti Pal23-Oct-09 18:40 

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.