Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting Drop Down Heigh of a ComboBox Pin
Brad Bruce9-Nov-02 10:15
Brad Bruce9-Nov-02 10:15 
GeneralRe: Setting Drop Down Heigh of a ComboBox Pin
Ken Mazaika9-Nov-02 12:31
Ken Mazaika9-Nov-02 12:31 
GeneralScript error on "add event handler" in resource editor Pin
Rewbs9-Nov-02 8:08
Rewbs9-Nov-02 8:08 
Generaldynaic menu Pin
Shotgun9-Nov-02 7:38
Shotgun9-Nov-02 7:38 
GeneralRe: dynaic menu Pin
Michael Dunn9-Nov-02 7:49
sitebuilderMichael Dunn9-Nov-02 7:49 
GeneralRe: dynaic menu Pin
Dominik Reichl9-Nov-02 7:50
Dominik Reichl9-Nov-02 7:50 
GeneralRe: dynaic menu Pin
Shotgun9-Nov-02 10:55
Shotgun9-Nov-02 10:55 
QuestionWhat's the answer to this template question? Pin
WREY9-Nov-02 5:23
WREY9-Nov-02 5:23 
NOTICE: In the following example, I had to use double angle brackets because single angle brackets were not showing up.


If I have the following piece of code, and I were to instantiate 'X' as X<<char*>>

template<<class t="">>
class X
{
...
const T m;
...
};

==============================

it would yield 'm' as

char *const m;

===============================

However, suppose I don't want to end up with 'm' as a constant pointer to a character object, but wanted 'm' to end up as a pointer to a constant object of type character. How would I instantiate 'X'?

NOTE: I DON'T want to declare 'm' as a pointer, e.g.

const T *m;

and then instantiate 'X' as X<<char>>

Thanks.

Cool | :cool:


William
AnswerRe: What's the answer to this template question? Pin
ian mariano9-Nov-02 8:22
ian mariano9-Nov-02 8:22 
GeneralVarying CListView Row heights Pin
JennyP9-Nov-02 3:59
JennyP9-Nov-02 3:59 
GeneralRe: Varying CListView Row heights Pin
nie1739-Nov-02 4:05
nie1739-Nov-02 4:05 
GeneralRe: Varying CListView Row heights Pin
dabs9-Nov-02 4:45
dabs9-Nov-02 4:45 
Questiongetting a temporary folder without ~? Pin
Anonymous9-Nov-02 2:58
Anonymous9-Nov-02 2:58 
AnswerRe: getting a temporary folder without ~? Pin
Dominik Reichl9-Nov-02 3:15
Dominik Reichl9-Nov-02 3:15 
AnswerRe: getting a temporary folder without ~? Pin
Michael Dunn9-Nov-02 6:31
sitebuilderMichael Dunn9-Nov-02 6:31 
GeneralRe: getting a temporary folder without ~? Pin
Dominik Reichl9-Nov-02 7:38
Dominik Reichl9-Nov-02 7:38 
GeneralRe: getting a temporary folder without ~? Pin
Michael Dunn9-Nov-02 7:52
sitebuilderMichael Dunn9-Nov-02 7:52 
GeneralRe: getting a temporary folder without ~? Pin
Dominik Reichl9-Nov-02 8:04
Dominik Reichl9-Nov-02 8:04 
Generalmemory question Pin
includeh109-Nov-02 0:15
includeh109-Nov-02 0:15 
GeneralRe: memory question Pin
S O S9-Nov-02 1:02
S O S9-Nov-02 1:02 
GeneralRe: memory question Pin
includeh109-Nov-02 2:20
includeh109-Nov-02 2:20 
GeneralRe: memory question Pin
ian mariano9-Nov-02 8:27
ian mariano9-Nov-02 8:27 
GeneralRe: memory question Pin
Anders Molin9-Nov-02 14:37
professionalAnders Molin9-Nov-02 14:37 
GeneralRe: memory question Pin
Gary R. Wheeler9-Nov-02 3:03
Gary R. Wheeler9-Nov-02 3:03 
GeneralTextOut under WinCE!?! Pin
Daniel Strigl8-Nov-02 23:40
Daniel Strigl8-Nov-02 23: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.