Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


C + +?

#include "Stdio.h>;
14.00 Temp;
14.00 TApp;
Typedef void (TEMP : : *Fun) ();
14.00 TApp
{
Public :
Fun Function;
};
14.00 TEMP
{
Public :
Void f1 ()
{
Printf ( "in f1\n");
}
Void InsertFun (TApp * app, a Fun)
{
App->;Function=a;
}
};
Main ()
{
TEMP *aa;
TApp *bb;
Aa=new Temp;
Bb=new TApp;
Aa->;InsertFun (bb (Fun) TEMP : : f1);
//bb How transfer function Function;
//bb->;Function (); Help me find here, how the Call
Delete bb;
Delete aa;
}



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com