หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
expected '(' to follow 'identifier'
Remarks
The function identifier is used in a context that requires trailing parentheses.
This error can be caused by omitting an equal sign (=) on a complex initialization.
Example
The following example generates C2054:
// C2054.c
int array1[] { 1, 2, 3 }; // C2054, missing =
Possible resolution:
// C2054b.c
int main() {
int array2[] = { 1, 2, 3 };
}