prog.cpp: In function 'int* zwroc(int (*)())':
prog.cpp:8:9: error: cannot convert 'int (*)()' to 'int*' in return
return neptun;
^
prog.cpp: At global scope:
prog.cpp:11:22: error: '_TCHAR' has not been declared
int _tmain(int argc, _TCHAR* argv[])
^
prog.cpp: In function 'int _tmain(int, int**)':
prog.cpp:19:1: error: expected primary-expression before 'void'
void fx()
^
prog.cpp:25:1: error: a function-definition is not allowed here before '{' token
{ //tu jest błąd
^
prog.cpp:29:22: error: '_TCHAR' has not been declared
int _tmain(int argc, _TCHAR* argv[])
^
prog.cpp:30:1: error: a function-definition is not allowed here before '{' token
{
^
prog.cpp:31:11: error: expected '}' at end of input
zwroc(fx);
^