Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想定义一个函数类型,它返回一个指向与自身相同类型的函数的指针。我试过这个:
typedef state* (*state)(lex*);
但我得到了syntax error你会猜到的。
syntax error