Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'array name' array element type cannot be function
Remarks
Arrays of functions are not allowed. Use an array of pointers to functions.
Example
The following example generates C2092:
// C2092.cpp
typedef void (F) ();
typedef F AT[10]; // C2092
Possible resolution:
// C2092b.cpp
// compile with: /c
typedef void (F) ();
typedef F * AT[10];