नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : function cannot be member of struct/union 'structorunion'
Remarks
The structure or union has a member function, which is allowed in C++ but not in C. To resolve the error, either compile as a C++ program or remove the member function.
Example
The following example generates C2032:
// C2032.c
struct z {
int i;
void func(); // C2032
};
Possible resolution:
// C2032b.c
// compile with: /c
struct z {
int i;
};