Click here to Skip to main content
16,010,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question??? Pin
15-Apr-02 1:12
suss15-Apr-02 1:12 
AnswerRe: ??? Pin
Paul M Watt15-Apr-02 5:33
mentorPaul M Watt15-Apr-02 5:33 
GeneralURGENT.... Can we invoke Apps from IE... Pin
Naresh Mehta15-Apr-02 1:11
Naresh Mehta15-Apr-02 1:11 
Generaltemplates Pin
Gianfranco Lanzetta15-Apr-02 1:05
Gianfranco Lanzetta15-Apr-02 1:05 
GeneralRe: templates Pin
Niklas L15-Apr-02 1:25
Niklas L15-Apr-02 1:25 
GeneralRe: templates Pin
Niklas L15-Apr-02 1:27
Niklas L15-Apr-02 1:27 
GeneralRe: templates Pin
15-Apr-02 6:50
suss15-Apr-02 6:50 
GeneralRe: templates Pin
Niklas L16-Apr-02 2:12
Niklas L16-Apr-02 2:12 
Hmm, yes why doesn't
template &tl; class type > int size(){return sizeof(type);};

work, while
template < class type > int size(type t){return sizeof(type);};

does? (Still without using the (t) argument, just specifying it is enough)
Smells like a compiler bug? Just tried it using gcc v2.95.4, and it gave the expected result. (4, 4, 8, 1, 2)
Using VC it seems like it always prints the value of the last used template parameter, in this case short, which gives 2 for all function calls.
Maybe someone with a copy of the ARM could explain how this is supposed to work.
Generalicon won't execute my program Pin
15-Apr-02 0:56
suss15-Apr-02 0:56 
GeneralRe: icon won't execute my program Pin
Orbital^15-Apr-02 1:16
Orbital^15-Apr-02 1:16 
GeneralRe: icon won't execute my program Pin
15-Apr-02 1:27
suss15-Apr-02 1:27 
GeneralRe: icon won't execute my program Pin
moliate15-Apr-02 2:22
moliate15-Apr-02 2:22 
GeneralRe: icon won't execute my program Pin
15-Apr-02 4:20
suss15-Apr-02 4:20 
GeneralProblem with masked Edit control Pin
Catherine14-Apr-02 23:53
Catherine14-Apr-02 23:53 
GeneralRe: Problem with masked Edit control Pin
Christian Graus15-Apr-02 0:44
protectorChristian Graus15-Apr-02 0:44 
GeneralRe: Problem with masked Edit control Pin
Catherine15-Apr-02 2:30
Catherine15-Apr-02 2:30 
GeneralQuestion on dockable toolbar Pin
GooGoo14-Apr-02 23:38
GooGoo14-Apr-02 23:38 
GeneralRe: Question on dockable toolbar Pin
NicholasCougar14-Apr-02 23:54
NicholasCougar14-Apr-02 23:54 
GeneralRe: Question on dockable toolbar Pin
GooGoo15-Apr-02 1:16
GooGoo15-Apr-02 1:16 
GeneralRe: Question on dockable toolbar Pin
Niklas L15-Apr-02 1:32
Niklas L15-Apr-02 1:32 
GeneralRe: Question on dockable toolbar Pin
Niklas L15-Apr-02 1:13
Niklas L15-Apr-02 1:13 
GeneralCRuntimeClass Pin
NicholasCougar14-Apr-02 23:35
NicholasCougar14-Apr-02 23:35 
GeneralRe: CRuntimeClass Pin
Niklas L14-Apr-02 23:47
Niklas L14-Apr-02 23:47 
GeneralRe: CRuntimeClass Pin
Jon Hulatt15-Apr-02 0:53
Jon Hulatt15-Apr-02 0:53 
GeneralRe: CRuntimeClass Pin
NicholasCougar15-Apr-02 15:16
NicholasCougar15-Apr-02 15:16 

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.