ecco qualcosa che ho buttato giù:
#include<iostream.h>
{
int Plus(int a,int b)
{
return (a+b);
}
typedef struct _operand
{
char symbol;
int preced;
int (*funct)();
} Operand;
Operand operand [] =
{
{'+',1,Plus},
{0,0,0}
};
ecco qualcosa che ho buttato giù:
#include<iostream.h>
{
int Plus(int a,int b)
{
return (a+b);
}
typedef struct _operand
{
char symbol;
int preced;
int (*funct)();
} Operand;
Operand operand [] =
{
{'+',1,Plus},
{0,0,0}
};
E SE TUTTO FOSSE SOLO UN RIFLESSO?