Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: recursive functions Pin
David Crow18-Jul-06 4:36
David Crow18-Jul-06 4:36 
AnswerRe: recursive functions Pin
earl18-Jul-06 6:15
earl18-Jul-06 6:15 
QuestionNumber of function signatures Pin
Sarath C18-Jul-06 2:05
Sarath C18-Jul-06 2:05 
AnswerRe: Number of function signatures [modified] Pin
sunit518-Jul-06 2:14
sunit518-Jul-06 2:14 
GeneralRe: Number of function signatures Pin
ThatsAlok18-Jul-06 2:40
ThatsAlok18-Jul-06 2:40 
GeneralRe: Number of function signatures Pin
ThatsAlok18-Jul-06 2:41
ThatsAlok18-Jul-06 2:41 
GeneralRe: Number of function signatures Pin
Sarath C18-Jul-06 3:10
Sarath C18-Jul-06 3:10 
AnswerRe: Number of function signatures [modified] Pin
Sarath C18-Jul-06 3:22
Sarath C18-Jul-06 3:22 
Anyway I have added one more statement in my "Fxn" function which prints the address.
printf("Function Address%x\n",Fxn);

I'm not sure whether it is correct or not but the output is like this
<br />
Function Address401000<br />
Function called 10<br />
Function Address401030<br />
Function called 0<br />
Function Address401060<br />
Function called 20<br />
Function Address401090<br />
Function called 0<br />
Function Address4010c0<br />
Function called 30Press


I have added one more object of type int, like this

MyTemplate<int> objint;
	objint.Fxn(10);
	MyTemplate<int> objint1;
	objint1.Fxn(100);

it prints same value as the function address

So as per the above code & results it seems that, there are different function signatures


SaRath.

"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"

My Blog | Understanding State Patte

-- modified at 9:23 Tuesday 18th July, 2006

QuestionFunction for return the time Pin
Max++18-Jul-06 1:59
Max++18-Jul-06 1:59 
AnswerRe: Function for return the time Pin
toxcct18-Jul-06 2:04
toxcct18-Jul-06 2:04 
AnswerRe: Function for return the time Pin
David Crow18-Jul-06 2:28
David Crow18-Jul-06 2:28 
AnswerRe: Function for return the time Pin
ThatsAlok18-Jul-06 2:37
ThatsAlok18-Jul-06 2:37 
Question[Message Deleted] Pin
ashish dogra18-Jul-06 1:50
ashish dogra18-Jul-06 1:50 
AnswerRe: edit control Pin
Cedric Moonen18-Jul-06 1:58
Cedric Moonen18-Jul-06 1:58 
GeneralRe: edit control Pin
ashish dogra18-Jul-06 2:31
ashish dogra18-Jul-06 2:31 
AnswerRe: edit control Pin
Hamid_RT18-Jul-06 2:36
Hamid_RT18-Jul-06 2:36 
AnswerRe: edit control Pin
ThatsAlok18-Jul-06 2:40
ThatsAlok18-Jul-06 2:40 
QuestionEdit Control Pin
si_6918-Jul-06 1:25
si_6918-Jul-06 1:25 
AnswerRe: Edit Control Pin
Ștefan-Mihai MOGA18-Jul-06 1:28
professionalȘtefan-Mihai MOGA18-Jul-06 1:28 
GeneralRe: Edit Control Pin
see me18-Jul-06 1:40
see me18-Jul-06 1:40 
AnswerRe: Edit Control Pin
Steve S18-Jul-06 1:30
Steve S18-Jul-06 1:30 
AnswerRe: Edit Control Pin
see me18-Jul-06 2:06
see me18-Jul-06 2:06 
GeneralRe: Edit Control Pin
ThatsAlok18-Jul-06 2:27
ThatsAlok18-Jul-06 2:27 
QuestionDisable conext menu Pin
aaaan18-Jul-06 1:05
aaaan18-Jul-06 1:05 
AnswerRe: Disable conext menu Pin
_AnsHUMAN_ 18-Jul-06 1:14
_AnsHUMAN_ 18-Jul-06 1:14 

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.