หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'identifier': this use of 'void' is not valid
Remarks
You can't create a variable or array of type void. Only pointers to void are allowed.
Example
The following example generates C2182:
// C2182.cpp
// compile with: /c
void var; // C2182
void arr[5]; // C2182
void* ptr; // OK