Click here to Skip to main content
15,929,263 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC controls. CListBox Pin
mpuerto28-Jun-05 19:19
mpuerto28-Jun-05 19:19 
GeneralRe: MFC controls. CListBox Pin
Christian Graus28-Jun-05 19:31
protectorChristian Graus28-Jun-05 19:31 
GeneralRe: MFC controls. CListBox Pin
Jose Lamas Rios29-Jun-05 2:54
Jose Lamas Rios29-Jun-05 2:54 
GeneralRe: MFC controls. CListBox Pin
mpuerto29-Jun-05 3:11
mpuerto29-Jun-05 3:11 
GeneralRe: MFC controls. CListBox Pin
PJ Arends28-Jun-05 20:46
professionalPJ Arends28-Jun-05 20:46 
Generaluser switching Pin
Member 171940628-Jun-05 18:22
Member 171940628-Jun-05 18:22 
GeneralQuestion Regarding Template in C++ Pin
phijophlip28-Jun-05 18:05
phijophlip28-Jun-05 18:05 
GeneralRe: Question Regarding Template in C++ Pin
Christian Graus28-Jun-05 18:31
protectorChristian Graus28-Jun-05 18:31 
You need to check 'Do not treat <'s as HTML tags' for us to see the code properly.

Christian Graus - Microsoft MVP - C++


#include <iostream.h>

void show(int x)
{
cout &lt;&lt;"inside the function one " &lt;&lt; x &lt;&lt; endl;
}

template <class T> void show( T a)
{
cout &lt;&lt; "inside the template" &lt;&lt; a &lt;&lt; endl;
}

int main()
{
show(10);
return 0;
}

When I run this program , I get the output
"inside the function one 10".


GeneralRe: Question Regarding Template in C++ Pin
Christian Graus28-Jun-05 19:06
protectorChristian Graus28-Jun-05 19:06 
GeneralAdding Folder Paths Pin
Member 171940628-Jun-05 17:51
Member 171940628-Jun-05 17:51 
GeneralRe: Adding Folder Paths Pin
22491728-Jun-05 18:25
22491728-Jun-05 18:25 
GeneralRe: Adding Folder Paths Pin
Blake V. Miller29-Jun-05 19:16
Blake V. Miller29-Jun-05 19:16 
QuestionWhats Wrong for calling convention? Pin
lewislewis_lewis28-Jun-05 13:48
lewislewis_lewis28-Jun-05 13:48 
AnswerRe: Whats Wrong for calling convention? Pin
Rick York28-Jun-05 14:59
mveRick York28-Jun-05 14:59 
AnswerRe: Whats Wrong for calling convention? Pin
Cedric Moonen28-Jun-05 20:35
Cedric Moonen28-Jun-05 20:35 
GeneralTransparent Unicode/Ascii using STL Pin
Patje28-Jun-05 12:32
Patje28-Jun-05 12:32 
GeneralRe: Transparent Unicode/Ascii using STL Pin
John R. Shaw29-Jun-05 9:04
John R. Shaw29-Jun-05 9:04 
Generalwindow enumeration from pid Pin
c. s.28-Jun-05 12:29
c. s.28-Jun-05 12:29 
GeneralRe: window enumeration from pid Pin
Blake Miller28-Jun-05 12:50
Blake Miller28-Jun-05 12:50 
Generaldevice arrival message Pin
Ann6628-Jun-05 12:17
sussAnn6628-Jun-05 12:17 
General,device arrival message Pin
Anonymous28-Jun-05 12:11
Anonymous28-Jun-05 12:11 
GeneralBegin_message_map Pin
kongy7928-Jun-05 9:40
kongy7928-Jun-05 9:40 
GeneralRe: Begin_message_map Pin
David Crow28-Jun-05 10:35
David Crow28-Jun-05 10:35 
GeneralRe: Begin_message_map Pin
kongy7928-Jun-05 14:12
kongy7928-Jun-05 14:12 
QuestionHow to version a DLL generated by Message Compiler ? Pin
jlarsj28-Jun-05 9:39
jlarsj28-Jun-05 9:39 

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.