[an error occurred while processing this directive]
|
С Борландом я не имел дел со времен Turbo C 2.0, но и Visual, и GCC
спокойно транслируют вот такой текст:
//----------------------------------------------- int my_func1 (char bbb, int ccc) int my_func2 (char bbb, int ccc) struct my_struct int main(int argc, char* argv[]) str1.my_func = my_func1; printf ("%d, %d\n", str1.my_func(3,6), str2.my_func(4,7)); return 0; //--------------------------------------------------
E-mail:
info@telesys.ru
#include
{
return bbb + ccc;
}
{
return bbb - ccc;
}
{
int (* my_func)(char,int);
int y;
};
{
my_struct str1,str2;
str2.my_func = my_func2;
}
Ответы