Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString Objects & subString :: MFC Pin
Nish Nishant18-Jun-02 19:19
sitebuilderNish Nishant18-Jun-02 19:19 
GeneralChanging STATIC control caption Pin
DerekSaw18-Jun-02 18:34
DerekSaw18-Jun-02 18:34 
GeneralRe: Changing STATIC control caption Pin
DerekSaw18-Jun-02 18:42
DerekSaw18-Jun-02 18:42 
GeneralRe: Changing STATIC control caption Pin
Tim Smith19-Jun-02 2:17
Tim Smith19-Jun-02 2:17 
GeneralRe: Changing STATIC control caption Pin
DerekSaw19-Jun-02 15:49
DerekSaw19-Jun-02 15:49 
GeneralRe: Changing STATIC control caption Pin
Nish Nishant18-Jun-02 19:28
sitebuilderNish Nishant18-Jun-02 19:28 
GeneralRe: Changing STATIC control caption Pin
DerekSaw19-Jun-02 15:50
DerekSaw19-Jun-02 15:50 
GeneralTemplate Pin
Stan the man18-Jun-02 17:29
Stan the man18-Jun-02 17:29 
Hi. I am also new in templates. I wrote a template class:

template<class t=""> class CExample

Now, I asked this before but am really confused.

I know that to declare it I do:

CExample<class t=""> m_Example;

What if I want to do this using "new"?

Is it

CExample<uint>* m_pExample;
m_pExample = new CExample<uint>;

Something like this???

Then to clean up:

delete m_pExample; (Anything special)

THanks in advance.
GeneralRe: Template Pin
Michael Dunn18-Jun-02 17:47
sitebuilderMichael Dunn18-Jun-02 17:47 
GeneralRe: Template Pin
Stan the man18-Jun-02 18:41
Stan the man18-Jun-02 18:41 
GeneralRe: Template Pin
Christian Graus18-Jun-02 19:14
protectorChristian Graus18-Jun-02 19:14 
QuestionRotate CDialog? Can I do it? Pin
jose_ugarte18-Jun-02 16:14
jose_ugarte18-Jun-02 16:14 
AnswerRe: Rotate CDialog? Can I do it? Pin
Mike Nordell18-Jun-02 17:33
Mike Nordell18-Jun-02 17:33 
GeneralRe: Rotate CDialog? Can I do it? Pin
Abin18-Jun-02 19:12
Abin18-Jun-02 19:12 
GeneralCut, Copy, Paste, Filenames to/from Explorer Pin
Matthew R. Miller18-Jun-02 14:20
Matthew R. Miller18-Jun-02 14:20 
GeneralRe: Cut, Copy, Paste, Filenames to/from Explorer Pin
Michael Dunn18-Jun-02 15:30
sitebuilderMichael Dunn18-Jun-02 15:30 
Generaltemplates Pin
Ancient Dragon18-Jun-02 14:15
Ancient Dragon18-Jun-02 14:15 
GeneralRe: templates Pin
Christian Graus18-Jun-02 14:23
protectorChristian Graus18-Jun-02 14:23 
GeneralRe: templates Pin
Ancient Dragon18-Jun-02 14:41
Ancient Dragon18-Jun-02 14:41 
GeneralRe: templates Pin
Christian Graus18-Jun-02 14:51
protectorChristian Graus18-Jun-02 14:51 
GeneralRe: templates Pin
Michael Dunn18-Jun-02 15:32
sitebuilderMichael Dunn18-Jun-02 15:32 
GeneralRe: templates Pin
Kannan Kalyanaraman18-Jun-02 16:51
Kannan Kalyanaraman18-Jun-02 16:51 
GeneralRe: templates Pin
Mike Nordell18-Jun-02 17:40
Mike Nordell18-Jun-02 17:40 
GeneralRe: templates Pin
Kannan Kalyanaraman18-Jun-02 22:17
Kannan Kalyanaraman18-Jun-02 22:17 
GeneralRe: templates Pin
Michael Dunn18-Jun-02 19:35
sitebuilderMichael Dunn18-Jun-02 19:35 

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.